code: def send_script_async(self, conn_id, data, progress_callback, callback):
          
  
          found_handle = None
          # Find the handle by connection id
          for handle, conn in self._connections.items():
              if conn['connection_id'] == conn_id:
                  found_handle = handle
  
          if found_handle is None:
              callback(conn_id, self.id, False, 'Invalid connection_id')
              return
  
          services = self._connections[found_handle]['services']
  
          self._command_task.async_command(['_send_script', found_handle, services, data, 0, progress_callback],
                                           self._send_script_finished, {'connection_id': conn_id,
                                                                        'callback': callback})
docs: Asynchronously send a a script to this IOTile device
  
          Args:
              conn_id (int): A unique identifer that will refer to this connection
              data (bytes): the script to send to the device
              progress_callback (callable): A function to be called with status on our progress, called as:
                  progress_callback(done_count, total_count)
              callback (callable): A callback for when we have finished sending the script.  The callback will be called as"
                  callback(connection_id, adapter_id, success, failure_reason)
                  'connection_id': the connection id
                  'adapter_id': this adapter's id
                  'success': a bool indicating whether we received a response to our attempted RPC
                  'failure_reason': a string with the reason for the failure if success == False