Functions with camel-case names are directly mapped to a function on the device. Functions without camel-case names are not mapped. The second function type should be preferred.
Get a handler list.
Function ‘get_handlers()’ should be preferred.
Returns: | Raw value returned by the device |
---|
Get a handler name by its ID.
Parameters: | handler_id (Integer) – The ID of the handler |
---|---|
Returns: | The name of the handler |
Return type: | String |
Get the version of the ArduRPC library running on the device.
Returns: | Raw value returned by the device |
---|
Get the max packet size supported by the device.
Returns: | Raw value returned by the device |
---|
Return a instance of the handler.
Parameters: | handler_id (Integer) – The ID of the handler |
---|---|
Returns: | Class instance or None |
Return type: | Instance |
Return a instance of the handler.
Parameters: | name (String) – The name of the handler |
---|---|
Returns: | Class instance or None |
Return type: | Instance |
Return a list of handler names present on the device.
Returns: | List of names |
---|---|
Return type: | List |
Register a new handler.
Parameters: |
|
---|
ArduRPC exceptions.
Base ArduRPC Exception.
list of weak references to the object (if defined)
The command is not available on the microcontroller.
Something went wrong while executing a command.
But no reason was given.
The function is not available on the microcontroller.