|
libARCommands
1.0
|
libARCommands generator header. This file contains all declarations needed to generate commands More...
Go to the source code of this file.
Enumerations | |
| enum | eARCOMMANDS_GENERATOR_ERROR { ARCOMMANDS_GENERATOR_OK = 0, ARCOMMANDS_GENERATOR_ERROR_BAD_ARGS, ARCOMMANDS_GENERATOR_ERROR_NOT_ENOUGH_SPACE, ARCOMMANDS_GENERATOR_ERROR } |
| Error codes for ARCOMMANDS_Generator_GenerateClassCommand functions. More... | |
libARCommands generator header. This file contains all declarations needed to generate commands
Error codes for ARCOMMANDS_Generator_GenerateClassCommand functions.
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3AnimationsFlip | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_ANIMATIONS_FLIP_DIRECTION | _direction | ||
| ) |
Make a flip.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _direction | Direction for the flip |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3CameraOrientation | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| int8_t | _tilt, | ||
| int8_t | _pan | ||
| ) |
Ask the drone to move camera.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _tilt | Tilt camera consign for the drone (in degree) |
| _tilt | The value is saturated by the drone. |
| _tilt | Saturation value is sent by thre drone through CameraSettingsChanged command. |
| _pan | Pan camera consign for the drone (in degree) |
| _pan | The value is saturated by the drone. |
| _pan | Saturation value is sent by thre drone through CameraSettingsChanged command. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3CameraStateOrientation | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| int8_t | _tilt, | ||
| int8_t | _pan | ||
| ) |
Camera orientation.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _tilt | Tilt camera consign for the drone [-100;100] |
| _pan | Pan camera consign for the drone [-100;100] |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3DebugBatteryDebugSettingsStateUseDrone2BatteryChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _drone2BatteryUsed | ||
| ) |
Use or not the drone2 battery.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _drone2BatteryUsed | 1 if the drone2 battery is used, 0 if the drone3 battery is used |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3DebugBatteryDebugSettingsUseDrone2Battery | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _drone2BatteryUsed | ||
| ) |
Use or not the drone2 battery.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _drone2BatteryUsed | 1 if the drone2 battery is used, 0 if the drone3 battery is used |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3DebugGPSDebugStateNbSatelliteChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _nbSatellite | ||
| ) |
Nb of satellite that gps is linked to.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _nbSatellite | Amount of satellite used by gps location |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3DebugVideoEnableWobbleCancellation | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _enable | ||
| ) |
Turn on/off wobble cancellation.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _enable | When enable=0, wobble cancellation is disabled else it's enabled |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3DebugVideoManualWhiteBalance | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Tune white balance.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3DebugVideoSyncAnglesGyros | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _anglesDelay_s, | ||
| float | _gyrosDelay_s | ||
| ) |
Adjust delay between angles/gyros and frame for video stabilization and wobble cancellation.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _anglesDelay_s | Shift by x seconds angles (video stabilization) |
| _gyrosDelay_s | Shift by x seconds t gyros (wobble cancellation |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3GPSSettingsResetHome | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Reset home location and let the drone make its own home.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3GPSSettingsSetHome | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| double | _latitude, | ||
| double | _longitude, | ||
| double | _altitude | ||
| ) |
Set home location.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _latitude | Home latitude in decimal degrees |
| _longitude | Home longitude in decimal degrees |
| _altitude | Home altitude in meters |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3GPSSettingsStateGPSFixStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _fixed | ||
| ) |
GPS fix state.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _fixed | 1 if gps on drone is fixed, 0 otherwise |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3GPSSettingsStateGPSUpdateStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_GPSSETTINGSSTATE_GPSUPDATESTATECHANGED_STATE | _state | ||
| ) |
GPS update state.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | The state of the gps update |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3GPSSettingsStateHomeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| double | _latitude, | ||
| double | _longitude, | ||
| double | _altitude | ||
| ) |
Return home status.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _latitude | Home latitude in decimal degrees |
| _longitude | Home longitude in decimal degrees |
| _altitude | Home altitude in meters |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3GPSSettingsStateResetHomeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| double | _latitude, | ||
| double | _longitude, | ||
| double | _altitude | ||
| ) |
Reset home status.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _latitude | Home latitude in decimal degrees |
| _longitude | Home longitude in decimal degrees |
| _altitude | Home altitude in meters |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3MediaRecordPicture | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _mass_storage_id | ||
| ) |
Take picture.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _mass_storage_id | Mass storage id to take picture |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3MediaRecordStatePictureStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _state, | ||
| uint8_t | _mass_storage_id | ||
| ) |
State of picture recording.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | 1 if picture has been taken, 0 otherwise |
| _mass_storage_id | Mass storage id where the picture was recorded |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3MediaRecordStateVideoStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_MEDIARECORDSTATE_VIDEOSTATECHANGED_STATE | _state, | ||
| uint8_t | _mass_storage_id | ||
| ) |
State of video recording.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | State of video |
| _mass_storage_id | Mass storage id where the video was recorded |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3MediaRecordVideo | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_MEDIARECORD_VIDEO_RECORD | _record, | ||
| uint8_t | _mass_storage_id | ||
| ) |
Video record.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _record | Command to record video |
| _mass_storage_id | Mass storage id to record |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3MediaStreamingStateVideoEnableChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_MEDIASTREAMINGSTATE_VIDEOENABLECHANGED_ENABLED | _enabled | ||
| ) |
Return video streaming status.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _enabled | Current video streaming status. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3MediaStreamingVideoEnable | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _enable | ||
| ) |
Enable/disable video streaming.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _enable | 1 to enable, 0 to disable. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3NetworkSettingsStateWifiSelectionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_NETWORKSETTINGSSTATE_WIFISELECTIONCHANGED_TYPE | _type, | ||
| eARCOMMANDS_ARDRONE3_NETWORKSETTINGSSTATE_WIFISELECTIONCHANGED_BAND | _band, | ||
| uint8_t | _channel | ||
| ) |
Wifi selection from product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _type | The type of wifi selection settings |
| _band | The actual wifi band state |
| _channel | The channel (depends of the band) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3NetworkSettingsWifiSelection | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_NETWORKSETTINGS_WIFISELECTION_TYPE | _type, | ||
| eARCOMMANDS_ARDRONE3_NETWORKSETTINGS_WIFISELECTION_BAND | _band, | ||
| uint8_t | _channel | ||
| ) |
Auto-select channel of choosen band.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _type | The type of wifi selection (auto, manual) |
| _band | The allowed band(s) : 2.4 Ghz, 5 Ghz, or all |
| _channel | The channel (not used in auto mode) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3NetworkStateAllWifiAuthChannelChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Notify the end of the list of Authorized wifi Channel.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3NetworkStateAllWifiScanChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
State sent when all scanning result sent.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3NetworkStateWifiAuthChannelListChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_NETWORKSTATE_WIFIAUTHCHANNELLISTCHANGED_BAND | _band, | ||
| uint8_t | _channel, | ||
| uint8_t | _in_or_out | ||
| ) |
Notify of an Authorized Channel.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _band | The band of this channel : 2.4 GHz or 5 GHz |
| _channel | The authorized channel. |
| _in_or_out | Bit 0 is 1 if channel is authorized outside (0 otherwise) ; Bit 1 is 1 if channel is authorized inside (0 otherwise) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3NetworkStateWifiScanListChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _ssid, | ||
| int16_t | _rssi, | ||
| eARCOMMANDS_ARDRONE3_NETWORKSTATE_WIFISCANLISTCHANGED_BAND | _band, | ||
| uint8_t | _channel | ||
| ) |
One scanning result found.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _ssid | SSID of the AP |
| _rssi | RSSI of the AP in dbm (negative value) |
| _band | The band : 2.4 GHz or 5 GHz |
| _channel | Channel of the AP |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3NetworkWifiAuthChannel | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Controller inquire the list of authorized wifi channels.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3NetworkWifiScan | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_NETWORK_WIFISCAN_BAND | _band | ||
| ) |
Launches wifi network scan.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _band | The band(s) : 2.4 Ghz, 5 Ghz, or both |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PictureSettingsAutoWhiteBalanceSelection | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_PICTURESETTINGS_AUTOWHITEBALANCESELECTION_TYPE | _type | ||
| ) |
AutoWhiteBalance mode.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _type | The type auto white balance |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PictureSettingsExpositionSelection | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _value | ||
| ) |
The exposition of the image.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _value | Exposition value (bounds given by ExpositionChanged arg min and max, by default [-3:3]) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PictureSettingsPictureFormatSelection | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_PICTURESETTINGS_PICTUREFORMATSELECTION_TYPE | _type | ||
| ) |
The format of the photo.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _type | The type of photo format |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PictureSettingsSaturationSelection | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _value | ||
| ) |
The saturation of the image.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _value | Saturation value (bounds given by SaturationChanged arg min and max, by default [-100:100]) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PictureSettingsStateAutoWhiteBalanceChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_PICTURESETTINGSSTATE_AUTOWHITEBALANCECHANGED_TYPE | _type | ||
| ) |
AutoWhiteBalance mode.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _type | The type auto white balance |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PictureSettingsStateExpositionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _value, | ||
| float | _min, | ||
| float | _max | ||
| ) |
The exposition of the image.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _value | Exposition value |
| _min | Min exposition value |
| _max | Max exposition value |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PictureSettingsStatePictureFormatChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_PICTURESETTINGSSTATE_PICTUREFORMATCHANGED_TYPE | _type | ||
| ) |
The format of the photo.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _type | The type of photo format |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PictureSettingsStateSaturationChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _value, | ||
| float | _min, | ||
| float | _max | ||
| ) |
The saturation of the image.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _value | Saturation value |
| _min | Min saturation value |
| _max | Max saturation value |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PictureSettingsStateTimelapseChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _enabled, | ||
| float | _interval, | ||
| float | _minInterval, | ||
| float | _maxInterval | ||
| ) |
Picture taken periodically.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _enabled | 1 if timelapse is enabled, 0 otherwise |
| _interval | interval in seconds for taking pictures |
| _minInterval | Minimal interval for taking pictures |
| _maxInterval | Maximal interval for taking pictures |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PictureSettingsStateVideoAutorecordChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _enabled, | ||
| uint8_t | _mass_storage_id | ||
| ) |
Video autorecord.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _enabled | 1 if video autorecord is enabled, 0 otherwise |
| _mass_storage_id | Mass storage id for the taken video |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PictureSettingsTimelapseSelection | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _enabled, | ||
| float | _interval | ||
| ) |
Picture taken periodically.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _enabled | 1 if timelapse is enabled, 0 otherwise |
| _interval | interval in seconds for taking pictures |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PictureSettingsVideoAutorecordSelection | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _enabled, | ||
| uint8_t | _mass_storage_id | ||
| ) |
Video autorecord.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _enabled | 1 if video autorecord is enabled, 0 otherwise |
| _mass_storage_id | Mass storage id to take video |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingAutoTakeOffMode | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _state | ||
| ) |
Set Drone3 in automatic take off mode.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | State of automatic take off mode (1 for autotake off enabled) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingEmergency | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Put drone in emergency user state.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingFlatTrim | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Do a flat trim.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingLanding | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Ask the drone to land.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingNavigateHome | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _start | ||
| ) |
Ask the drone to fly to home.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _start | 1 to start the navigate home, 0 to stop it |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingPCMD | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _flag, | ||
| int8_t | _roll, | ||
| int8_t | _pitch, | ||
| int8_t | _yaw, | ||
| int8_t | _gaz, | ||
| float | _psi | ||
| ) |
Ask the drone to move around.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _flag | Boolean flag to activate roll/pitch movement |
| _roll | Roll consign for the drone [-100;100] |
| _pitch | Pitch consign for the drone [-100;100] |
| _yaw | Yaw consign for the drone [-100;100] |
| _gaz | Gaz consign for the drone [-100;100] |
| _psi | Magnetic north heading of the controlling device (deg) [-180;180] |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingSettingsAbsolutControl | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _on | ||
| ) |
Enable/Disable absolut control.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _on | 1 to enable, 0 to disable |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingSettingsMaxAltitude | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current | ||
| ) |
Set Max Altitude.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current altitude max in m |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingSettingsMaxTilt | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current | ||
| ) |
Set Max Tilt.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current tilt max in degree |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingSettingsStateAbsolutControlChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _on | ||
| ) |
Absolut control boolean sent by product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _on | 1 if enabled, 0 if disabled |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingSettingsStateMaxAltitudeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current, | ||
| float | _min, | ||
| float | _max | ||
| ) |
Max Altitude sent by product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current altitude max |
| _min | Range min of altitude |
| _max | Range max of altitude |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingSettingsStateMaxTiltChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current, | ||
| float | _min, | ||
| float | _max | ||
| ) |
Max tilt sent by product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current max tilt |
| _min | Range min of tilt |
| _max | Range max of tilt |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingStateAlertStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_PILOTINGSTATE_ALERTSTATECHANGED_STATE | _state | ||
| ) |
Drone alert state changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | Drone alert state |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingStateAltitudeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| double | _altitude | ||
| ) |
Drone altitude changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _altitude | Altitude in meters |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingStateAttitudeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _roll, | ||
| float | _pitch, | ||
| float | _yaw | ||
| ) |
Drone attitude changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _roll | roll value (in radian) |
| _pitch | Pitch value (in radian) |
| _yaw | Yaw value (in radian) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingStateAutoTakeOffModeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _state | ||
| ) |
Status of the drone3 automatic take off mode.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | State of automatic take off mode (1 if enabled) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingStateFlatTrimChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Drone acknowledges that flat trim was correctly processed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingStateFlyingStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_PILOTINGSTATE_FLYINGSTATECHANGED_STATE | _state | ||
| ) |
Drone flying state changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | Drone flying state |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingStateNavigateHomeStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_PILOTINGSTATE_NAVIGATEHOMESTATECHANGED_STATE | _state, | ||
| eARCOMMANDS_ARDRONE3_PILOTINGSTATE_NAVIGATEHOMESTATECHANGED_REASON | _reason | ||
| ) |
Navigating home state.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | State of navigate home |
| _reason | Reason of the state |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingStatePositionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| double | _latitude, | ||
| double | _longitude, | ||
| double | _altitude | ||
| ) |
Drone position changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _latitude | Latitude position in decimal degrees (500.0 if not available) |
| _longitude | Longitude position in decimal degrees (500.0 if not available) |
| _altitude | Altitude in meters (from GPS) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingStateSpeedChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _speedX, | ||
| float | _speedY, | ||
| float | _speedZ | ||
| ) |
Drone speed changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _speedX | Speed on the x axis (when drone moves forward, speed is > 0) (in m/s) |
| _speedY | Speed on the y axis (when drone moves to right, speed is > 0) (in m/s) |
| _speedZ | Speed on the z axis (when drone moves down, speed is > 0) (in m/s) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3PilotingTakeOff | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Ask the drone to take off.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SettingsStateMotorErrorLastErrorChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_ARDRONE3_SETTINGSSTATE_MOTORERRORLASTERRORCHANGED_MOTORERROR | _motorError | ||
| ) |
Motor status about last error.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _motorError | Enumeration of the motor error |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SettingsStateMotorErrorStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _motorIds, | ||
| eARCOMMANDS_ARDRONE3_SETTINGSSTATE_MOTORERRORSTATECHANGED_MOTORERROR | _motorError | ||
| ) |
Motor status changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _motorIds | Bit field for concerned motor. If bit 0 = 1, motor 1 is affected by this error. Same with bit 1, 2 and 3. |
| _motorError | Enumeration of the motor error |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SettingsStateMotorFlightsStatusChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint16_t | _nbFlights, | ||
| uint16_t | _lastFlightDuration, | ||
| uint32_t | _totalFlightDuration | ||
| ) |
Motor flights status.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _nbFlights | total number of flights |
| _lastFlightDuration | Duration of the last flight (in seconds) |
| _totalFlightDuration | Duration of all flights (in seconds) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SettingsStateMotorSoftwareVersionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _version | ||
| ) |
Motor software version status.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _version | name of the version : dot separated fields (major version - minor version - firmware type - nb motors handled). Firmware types : Release, Debug, Alpha, Test-bench |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SettingsStateProductGPSVersionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _software, | ||
| const char * | _hardware | ||
| ) |
Product GPS versions.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _software | Product GPS software version |
| _hardware | Product GPS hardware version |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SettingsStateProductMotorVersionListChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _motor_number, | ||
| const char * | _type, | ||
| const char * | _software, | ||
| const char * | _hardware | ||
| ) |
DEPRECATED Product Motor version (the first argument is the unique identifier for the list)
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _motor_number | Product Motor number |
| _type | Product Motor type |
| _software | Product Motors software version |
| _hardware | Product Motors hardware version |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SpeedSettingsHullProtection | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _present | ||
| ) |
Presence of hull protection.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _present | 1 if present, 0 if not present |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SpeedSettingsMaxRotationSpeed | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current | ||
| ) |
Set Max Rotation speed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current max rotation speed in degree/s |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SpeedSettingsMaxVerticalSpeed | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current | ||
| ) |
Set Max Vertical speed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current max vertical speed in m/s |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SpeedSettingsOutdoor | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _outdoor | ||
| ) |
Outdoor property.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _outdoor | 1 if outdoor flight, 0 if indoor flight |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SpeedSettingsStateHullProtectionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _present | ||
| ) |
Presence of hull protection sent by product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _present | 1 if present, 0 if not present |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SpeedSettingsStateMaxRotationSpeedChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current, | ||
| float | _min, | ||
| float | _max | ||
| ) |
Max rotation speed sent by product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current max rotation speed in degree/s |
| _min | Range min of rotation speed |
| _max | Range max of rotation speed |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SpeedSettingsStateMaxVerticalSpeedChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current, | ||
| float | _min, | ||
| float | _max | ||
| ) |
Max vertical speed sent by product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current max vertical speed in m/s |
| _min | Range min of vertical speed |
| _max | Range max of vertical speed |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateARDrone3SpeedSettingsStateOutdoorChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _outdoor | ||
| ) |
Outdoor property sent by product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _outdoor | 1 if outdoor flight, 0 if indoor flight |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCalibrationMagnetoCalibration | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _calibrate | ||
| ) |
Sent when a calibration of the magnetometer is asked or is aborted.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _calibrate | 1 if the calibration should be started, 0 if it should be aborted |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCalibrationStateMagnetoCalibrationAxisToCalibrateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_COMMON_CALIBRATIONSTATE_MAGNETOCALIBRATIONAXISTOCALIBRATECHANGED_AXIS | _axis | ||
| ) |
Event sent by a product to inform about the axis to calibrate.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _axis | The axis to calibrate |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCalibrationStateMagnetoCalibrationRequiredState | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _required | ||
| ) |
Status of the calibration requirement.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _required | 1 if calibration is required, 0 if current calibration is still valid |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCalibrationStateMagnetoCalibrationStartedChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _started | ||
| ) |
Status of the calibration process.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _started | 1 if calibration has started, 0 otherwise |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCalibrationStateMagnetoCalibrationStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _xAxisCalibration, | ||
| uint8_t | _yAxisCalibration, | ||
| uint8_t | _zAxisCalibration, | ||
| uint8_t | _calibrationFailed | ||
| ) |
Sent when the state of the magneto calibration has changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _xAxisCalibration | State of the x axis (roll) calibration : 1 if calibration is done, 0 otherwise |
| _yAxisCalibration | State of the y axis (pitch) calibration : 1 if calibration is done, 0 otherwise |
| _zAxisCalibration | State of the z axis (yaw) calibration : 1 if calibration is done, 0 otherwise |
| _calibrationFailed | 1 if calibration has failed, 0 otherwise. If this arg is 1, consider all previous arg as 0 |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCameraSettingsStateCameraSettingsChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _fov, | ||
| float | _panMax, | ||
| float | _panMin, | ||
| float | _tiltMax, | ||
| float | _tiltMin | ||
| ) |
Status of the camera settings.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _fov | Value of the camera horizontal fov (in degree) |
| _panMax | Value of max pan (right pan) (in degree) |
| _panMin | Value of min pan (left pan) (in degree) |
| _tiltMax | Value of max tilt (top tilt) (in degree) |
| _tiltMin | Value of min tilt (bottom tilt) (in degree) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCommonAllStates | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Get all product states.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCommonCurrentDate | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _date | ||
| ) |
Set current date of controller.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _date | Date with ISO-8601 format |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCommonCurrentTime | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _time | ||
| ) |
Set current time of controller.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _time | Time with ISO-8601 format |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCommonReboot | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Command to ask reboot to product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCommonStateAllStatesChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
State sent when all product states has been sent.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCommonStateBatteryStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _percent | ||
| ) |
Battery state.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _percent | Battery percentage |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCommonStateCurrentDateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _date | ||
| ) |
Current date state.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _date | Date with ISO-8601 format |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCommonStateCurrentTimeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _time | ||
| ) |
Current time state.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _time | Time with ISO-8601 format |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCommonStateMassStorageInfoRemainingListChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint32_t | _free_space, | ||
| uint16_t | _rec_time, | ||
| uint32_t | _photo_remaining | ||
| ) |
Mass storage info remaining list.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _free_space | Mass storage free space in MBytes |
| _rec_time | Mass storage record time reamining in minute |
| _photo_remaining | Mass storage photo remaining |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCommonStateMassStorageInfoStateListChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _mass_storage_id, | ||
| uint32_t | _size, | ||
| uint32_t | _used_size, | ||
| uint8_t | _plugged, | ||
| uint8_t | _full, | ||
| uint8_t | _internal | ||
| ) |
Mass storage info state list.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _mass_storage_id | Mass storage state id (unique) |
| _size | Mass storage size in MBytes |
| _used_size | Mass storage used size in MBytes |
| _plugged | Mass storage plugged (1 if mass storage is plugged, otherwise 0) |
| _full | Mass storage full information state (1 if mass storage full, 0 otherwise). |
| _internal | Mass storage internal type state (1 if mass storage is internal, 0 otherwise) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCommonStateMassStorageStateListChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _mass_storage_id, | ||
| const char * | _name | ||
| ) |
Mass storage state list.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _mass_storage_id | Mass storage id (unique) |
| _name | Mass storage name |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonCommonStateWifiSignalChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| int16_t | _rssi | ||
| ) |
Wifi Signal between controller and product state.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _rssi | RSSI of the signal between controller and the product (in dbm) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonControllerStateIsPilotingChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _piloting | ||
| ) |
Tell the device when the controller application enters/leaves the piloting HUD.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _piloting | 0 when the application is not in the piloting HUD, 1 when it enters the HUD. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonDebugStatsEventSendPacket | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _packet | ||
| ) |
Send a packet from drone.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _packet | packet from drone |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonDebugStatsSendPacket | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _packet | ||
| ) |
Send a packet to the drone.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _packet | Packet to send to the drone |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonDebugStatsStartSendingPacketFromDrone | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _frequency, | ||
| uint8_t | _packetSize, | ||
| uint32_t | _date | ||
| ) |
Ask drone to start sending packets.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _frequency | Frequency of the packet |
| _packetSize | Size of the the packet |
| _date | time of day in sec |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonDebugStatsStopSendingPacketFromDrone | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Ask drone to stop sending packets.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonGPSControllerPositionForRun | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| double | _latitude, | ||
| double | _longitude | ||
| ) |
Set the controller position for a run. This command is used by all non gps products. Watch out, this command cannot be used with BLE products.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _latitude | Controller latitude in decimal degrees |
| _longitude | Controller longitude in decimal degrees |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonMavlinkPause | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Pause the flightplan (can be restarted with a start)
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonMavlinkStart | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _filepath, | ||
| eARCOMMANDS_COMMON_MAVLINK_START_TYPE | _type | ||
| ) |
Start the flight plan.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _filepath | flight plan file path from the mavlink ftp root |
| _type | type of the played mavlink file |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonMavlinkStateMavlinkFilePlayingStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_COMMON_MAVLINKSTATE_MAVLINKFILEPLAYINGSTATECHANGED_STATE | _state, | ||
| const char * | _filepath, | ||
| eARCOMMANDS_COMMON_MAVLINKSTATE_MAVLINKFILEPLAYINGSTATECHANGED_TYPE | _type | ||
| ) |
Playing state of a mavlink flight plan.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | State of the mavlink |
| _filepath | flight plan file path from the mavlink ftp root |
| _type | type of the played mavlink file |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonMavlinkStateMavlinkPlayErrorStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_COMMON_MAVLINKSTATE_MAVLINKPLAYERRORSTATECHANGED_ERROR | _error | ||
| ) |
FlightPlan play state error.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _error | State of play error |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonMavlinkStop | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Stop the flightplan.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonNetworkDisconnect | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Signals the remote that the host will disconnect and close its libARNetwork instance (and all threads that use libARNetwork)
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonOverHeatStateOverHeatChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Overheat temperature reached.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonOverHeatStateOverHeatRegulationChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _regulationType | ||
| ) |
Overheat regulation state changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _regulationType | Type of overheat regulation : 0 for ventilation, 1 for switch off |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonOverHeatSwitchOff | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Switch off the drone when a overheat appeared.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonOverHeatVentilate | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Ventilate the drone when a overheat appeared.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsAllSettings | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Get all product settings, the product must send all settings.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsAutoCountry | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _automatic | ||
| ) |
Set Auto Country Settings.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _automatic | Boolean : 0 : Manual / 1 : Auto |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsCountry | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _code | ||
| ) |
Set current Country of controller.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _code | Country code with ISO 3166 format |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsProductName | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _name | ||
| ) |
Set Product name.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _name | Product name |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsReset | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Reset all settings.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsStateAllSettingsChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
State sent when all settings has been sent.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsStateAutoCountryChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _automatic | ||
| ) |
Inform Auto Country Settings.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _automatic | Boolean : 0 : Manual / 1 : Auto |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsStateCountryChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _code | ||
| ) |
Inform current Country set in product. (Answer to 'Country' command)
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _code | Country code with ISO 3166 format, empty string means unknown country. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsStateProductNameChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _name | ||
| ) |
Product name.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _name | Product name |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsStateProductSerialHighChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _high | ||
| ) |
Product serial number.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _high | Serial high number (hexadecimal value) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsStateProductSerialLowChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _low | ||
| ) |
Product serial number.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _low | Serial low number (hexadecimal value) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsStateProductVersionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _software, | ||
| const char * | _hardware | ||
| ) |
Product versions.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _software | Product software version |
| _hardware | Product hardware version |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonSettingsStateResetChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
State sent when all settings has been resetting.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonWifiSettingsOutdoorSetting | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _outdoor | ||
| ) |
Send to product if it should use its outdoor wifi config, or indoor.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _outdoor | 1 if it should use outdoor wifi settings, 0 otherwise |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateCommonWifiSettingsStateOutdoorSettingsChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _outdoor | ||
| ) |
Status of the wifi config : either indoor or outdoor.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _outdoor | 1 if it should use outdoor wifi settings, 0 otherwise |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoAnimationsJump | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_ANIMATIONS_JUMP_TYPE | _type | ||
| ) |
Request a jump.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _type | Type of jump |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoAnimationsJumpCancel | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Cancel jump and come back to previous state (if possible).
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoAnimationsJumpLoad | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Request jump loading.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoAnimationsJumpStop | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Stop jump, emergency jump stop, stop jump motor and stay there.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoAnimationsSimpleAnimation | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_ANIMATIONS_SIMPLEANIMATION_ID | _id | ||
| ) |
Play a parameterless animation.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _id | Animation ID. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoAnimationsStateJumpLoadChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_ANIMATIONSSTATE_JUMPLOADCHANGED_STATE | _state | ||
| ) |
State of jump load changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | State of jump load |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoAnimationsStateJumpTypeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_ANIMATIONSSTATE_JUMPTYPECHANGED_STATE | _state | ||
| ) |
State of jump type changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | State of jump type. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoAudioSettingsMasterVolume | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _volume | ||
| ) |
Master volume control.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _volume | Master audio volume [0:100]. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoAudioSettingsStateMasterVolumeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _volume | ||
| ) |
Master volume control.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _volume | Master audio volume [0:100]. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoAudioSettingsStateThemeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_AUDIOSETTINGSSTATE_THEMECHANGED_THEME | _theme | ||
| ) |
Command to notify controller of new Audio Theme.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _theme | The audio theme to set. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoAudioSettingsTheme | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_AUDIOSETTINGS_THEME_THEME | _theme | ||
| ) |
Audio Theme.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _theme | The audio theme to set. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoDebugAnimationAddCapOffset | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _offset | ||
| ) |
Add the specified offset to the current cap.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _offset | Offset value in radians. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoDebugAnimationPlayAnimation | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMODEBUG_ANIMATION_PLAYANIMATION_ID | _id | ||
| ) |
Play an animation.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _id | Animation ID. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoDebugAudioPlaySoundWithName | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _filename | ||
| ) |
Play a sound from a file.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _filename | Name of the file. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoDebugJumpSetCameraOrientation | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| int8_t | _speedIncrement | ||
| ) |
Change the camera vertical orientation.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _speedIncrement | Orientation increment speed [-100:100]. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoDebugJumpSetJumpMotor | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| int8_t | _speed | ||
| ) |
Ask the JS speed and turn ratio.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _speed | Jump motor speed value [-100:100]. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoDebugMiscDebugEvent | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Command to create an event in colibry state machine for all kinds of debug.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoDebugUserScriptStateUserScriptParsed | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _success, | ||
| const char * | _message | ||
| ) |
Notification sent by the firmware after attempting to parse the user script.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _success | Whether the script was loaded successfully (0 = failed, 1 = success). |
| _message | Error message. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoDebugUserScriptUserScriptUploaded | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Command to notify the firmware that a new user script was uploaded.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoMediaRecordPicture | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _mass_storage_id | ||
| ) |
Take picture.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _mass_storage_id | Mass storage id to take picture |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoMediaRecordStatePictureStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _state, | ||
| uint8_t | _mass_storage_id | ||
| ) |
State of picture recording.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | 1 if picture has been taken, 0 otherwise |
| _mass_storage_id | Mass storage id where the picture was recorded |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoMediaRecordStateVideoStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_MEDIARECORDSTATE_VIDEOSTATECHANGED_STATE | _state, | ||
| uint8_t | _mass_storage_id | ||
| ) |
State of video recording.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | State of video |
| _mass_storage_id | Mass storage id where the video was recorded |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoMediaRecordVideo | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_MEDIARECORD_VIDEO_RECORD | _record, | ||
| uint8_t | _mass_storage_id | ||
| ) |
Video record.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _record | Command to record video |
| _mass_storage_id | Mass storage id to record |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoMediaStreamingStateVideoEnableChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_MEDIASTREAMINGSTATE_VIDEOENABLECHANGED_ENABLED | _enabled | ||
| ) |
Return video streaming status.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _enabled | Current video streaming status. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoMediaStreamingVideoEnable | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _enable | ||
| ) |
Enable/disable video streaming.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _enable | 1 to enable, 0 to disable. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoNetworkSettingsStateWifiSelectionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_NETWORKSETTINGSSTATE_WIFISELECTIONCHANGED_TYPE | _type, | ||
| eARCOMMANDS_JUMPINGSUMO_NETWORKSETTINGSSTATE_WIFISELECTIONCHANGED_BAND | _band, | ||
| uint8_t | _channel | ||
| ) |
Wifi selection from product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _type | The type of wifi selection settings |
| _band | The actual wifi band state |
| _channel | The channel (depends of the band) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoNetworkSettingsWifiSelection | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_NETWORKSETTINGS_WIFISELECTION_TYPE | _type, | ||
| eARCOMMANDS_JUMPINGSUMO_NETWORKSETTINGS_WIFISELECTION_BAND | _band, | ||
| uint8_t | _channel | ||
| ) |
Auto-select channel of choosen band.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _type | The type of wifi selection (auto, manual) |
| _band | The allowed band(s) : 2.4 Ghz, 5 Ghz, or all |
| _channel | The channel (not used in auto mode) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoNetworkStateAllWifiAuthChannelChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Notify the end of the list of Authorized wifi Channel.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoNetworkStateAllWifiScanChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
State sent when all scanning result sent.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoNetworkStateLinkQualityChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _quality | ||
| ) |
Notification sent by the firmware to give an indication of the WiFi link quality.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _quality | The WiFi link quality in range 0-6, the higher the value, the higher the link quality. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoNetworkStateWifiAuthChannelListChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_NETWORKSTATE_WIFIAUTHCHANNELLISTCHANGED_BAND | _band, | ||
| uint8_t | _channel, | ||
| uint8_t | _in_or_out | ||
| ) |
Notify of an Authorized Channel.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _band | The band of this channel : 2.4 GHz or 5 GHz |
| _channel | The authorized channel. |
| _in_or_out | Bit 0 is 1 if channel is authorized outside (0 otherwise) ; Bit 1 is 1 if channel is authorized inside (0 otherwise) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoNetworkStateWifiScanListChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _ssid, | ||
| int16_t | _rssi, | ||
| eARCOMMANDS_JUMPINGSUMO_NETWORKSTATE_WIFISCANLISTCHANGED_BAND | _band, | ||
| uint8_t | _channel | ||
| ) |
One scanning result found.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _ssid | SSID of the AP |
| _rssi | RSSI of the AP in dbm (negative value) |
| _band | The band : 2.4 GHz or 5 GHz |
| _channel | Channel of the AP |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoNetworkWifiAuthChannel | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Controller inquire the list of authorized wifi channels.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoNetworkWifiScan | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_NETWORK_WIFISCAN_BAND | _band | ||
| ) |
Launches wifi network scan.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _band | The band(s) : 2.4 Ghz, 5 Ghz, or both |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoPilotingAddCapOffset | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _offset | ||
| ) |
Add the specified offset to the current cap.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _offset | Offset value in radians. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoPilotingPCMD | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _flag, | ||
| int8_t | _speed, | ||
| int8_t | _turn | ||
| ) |
Ask the JS speed and turn ratio.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _flag | Boolean for "touch screen". |
| _speed | Speed value [-100:100]. |
| _turn | Turn value. [-100:100] |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoPilotingPosture | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_PILOTING_POSTURE_TYPE | _type | ||
| ) |
Request a posture.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _type | Type of Posture |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoPilotingStateAlertStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_PILOTINGSTATE_ALERTSTATECHANGED_STATE | _state | ||
| ) |
JS alert state changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | JS alert state |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoPilotingStatePostureChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_PILOTINGSTATE_POSTURECHANGED_STATE | _state | ||
| ) |
State of posture changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | State of posture |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoRoadPlanAllScriptsMetadata | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Command to ask device all metadata scripts.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoRoadPlanPlayScript | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _uuid | ||
| ) |
Ask the device to play a script.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _uuid | UUID of the file to play. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoRoadPlanScriptDelete | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _uuid | ||
| ) |
Ask the device to delete a script.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _uuid | UUID of the file to delete. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoRoadPlanScriptUploaded | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _uuid, | ||
| const char * | _md5Hash | ||
| ) |
Notify device that a new file has been uploaded.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _uuid | UUID of uploaded file. |
| _md5Hash | MD5 hash code computed over file. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoRoadPlanStateAllScriptsMetadataChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Notify controller that all script metadatas are updated.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoRoadPlanStatePlayScriptChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_ROADPLANSTATE_PLAYSCRIPTCHANGED_RESULTCODE | _resultCode | ||
| ) |
Device response to PlayScript command.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _resultCode | Error code. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoRoadPlanStateScriptDeleteChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_ROADPLANSTATE_SCRIPTDELETECHANGED_RESULTCODE | _resultCode | ||
| ) |
Device response to ScriptDelete command.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _resultCode | Error code. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoRoadPlanStateScriptMetadataListChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _uuid, | ||
| uint8_t | _version, | ||
| const char * | _product, | ||
| const char * | _name, | ||
| uint64_t | _lastModified | ||
| ) |
Update the controller with metadata.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _uuid | Script uuid for which metadata changed. |
| _version | Version number for this script. |
| _product | Product targeted by script. |
| _name | Display name of the script. |
| _lastModified | Timestamp relative to the UNIX epoch of the last time the file was modified. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoRoadPlanStateScriptUploadChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_JUMPINGSUMO_ROADPLANSTATE_SCRIPTUPLOADCHANGED_RESULTCODE | _resultCode | ||
| ) |
Device response to ScriptUploaded command.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _resultCode | Error code. |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoSettingsStateProductGPSVersionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _software, | ||
| const char * | _hardware | ||
| ) |
Product GPS versions.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _software | Product GPS software version |
| _hardware | Product GPS hardware version |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoSpeedSettingsOutdoor | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _outdoor | ||
| ) |
Outdoor property => CAUTION : USED FOR WIFI, to know authorized wifi channels.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _outdoor | 1 if outdoor, 0 if indoor |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateJumpingSumoSpeedSettingsStateOutdoorChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _outdoor | ||
| ) |
Outdoor property sent by product => CAUTION : USED FOR WIFI, to know authorized wifi channels.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _outdoor | 1 if outdoor, 0 if indoor |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneAnimationsCap | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| int16_t | _offset | ||
| ) |
Change the product cap.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _offset | Change the cap with offset angle [-180;180] |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneAnimationsFlip | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_MINIDRONE_ANIMATIONS_FLIP_DIRECTION | _direction | ||
| ) |
Make a flip.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _direction | Direction for the flip |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneDebugDebugTest1 | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| int8_t | _t1Args | ||
| ) |
Test 1 command.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _t1Args | Test 1 argument |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneDebugDebugTest2 | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| int8_t | _t2Args | ||
| ) |
Test 2 command.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _t2Args | Test 2 argument |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneDebugDebugTest3 | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| int8_t | _t3Args | ||
| ) |
Test 3 command.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _t3Args | Test 3 argument |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneFloodControlStateFloodControlChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint16_t | _delay | ||
| ) |
Flood control regulation.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _delay | Delay (in ms) between two PCMD |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneGPSControllerLatitudeForRun | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| double | _latitude | ||
| ) |
Set the controller latitude for a run.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _latitude | Controller latitude in decimal degrees |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneGPSControllerLongitudeForRun | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| double | _longitude | ||
| ) |
Set the controller longitude for a run.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _longitude | Controller longitude in decimal degrees |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneMediaRecordPicture | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _mass_storage_id | ||
| ) |
Take picture.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _mass_storage_id | Mass storage id to take picture |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneMediaRecordStatePictureStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _state, | ||
| uint8_t | _mass_storage_id | ||
| ) |
State of picture recording.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | 1 if picture has been taken, 0 otherwise |
| _mass_storage_id | Mass storage id to record |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingAutoTakeOffMode | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _state | ||
| ) |
Set MiniDrone automatic take off mode.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | State of automatic take off mode |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingEmergency | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Put drone in emergency state.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingFlatTrim | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Do a flat trim.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingLanding | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Ask the MiniDrone to land.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingPCMD | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _flag, | ||
| int8_t | _roll, | ||
| int8_t | _pitch, | ||
| int8_t | _yaw, | ||
| int8_t | _gaz, | ||
| float | _psi | ||
| ) |
Ask the drone to move around.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _flag | Boolean flag to activate roll/pitch movement |
| _roll | Roll consign for the MiniDrone [-100;100] |
| _pitch | Pitch consign for the MiniDrone [-100;100] |
| _yaw | Yaw consign for the MiniDrone [-100;100] |
| _gaz | Gaz consign for the MiniDrone [-100;100] |
| _psi | Magnetic north heading of the controlling device (deg) [-360;360] |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingSettingsMaxAltitude | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current | ||
| ) |
Set Max Altitude.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current altitude max in m |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingSettingsMaxTilt | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current | ||
| ) |
Set Max Tilt.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current tilt max in degree |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingSettingsStateMaxAltitudeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current, | ||
| float | _min, | ||
| float | _max | ||
| ) |
Max Altitude sent by product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current altitude max |
| _min | Range min of altitude |
| _max | Range max of altitude |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingSettingsStateMaxTiltChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current, | ||
| float | _min, | ||
| float | _max | ||
| ) |
Max tilt sent by product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current max tilt |
| _min | Range min of tilt |
| _max | Range max of tilt |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingStateAlertStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_MINIDRONE_PILOTINGSTATE_ALERTSTATECHANGED_STATE | _state | ||
| ) |
Drone alert state changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | Drone alert state |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingStateAutoTakeOffModeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _state | ||
| ) |
Set MiniDrone automatic take off mode.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | State of automatic take off mode |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingStateFlatTrimChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
MiniDrone send flat trim was correctly processed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingStateFlyingStateChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_MINIDRONE_PILOTINGSTATE_FLYINGSTATECHANGED_STATE | _state | ||
| ) |
Drone flying state changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _state | Drone flying state |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDronePilotingTakeOff | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Ask the drone to take off.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneSettingsCutOutMode | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _enable | ||
| ) |
Set MiniDrone cut out mode.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _enable | Enable cut out mode (1 if is activate, 0 otherwise) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneSettingsStateCutOutModeChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _enable | ||
| ) |
MiniDrone cut out mode.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _enable | State of cut out mode (1 if is activate, 0 otherwise) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneSettingsStateProductInertialVersionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _software, | ||
| const char * | _hardware | ||
| ) |
Product Inertial versions.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _software | Product Inertial software version |
| _hardware | Product Inertial hardware version |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneSettingsStateProductMotorsVersionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _motor, | ||
| const char * | _type, | ||
| const char * | _software, | ||
| const char * | _hardware | ||
| ) |
Product Motors versions.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _motor | Product Motor number [1 - 4] |
| _type | Product Motor type |
| _software | Product Motors software version |
| _hardware | Product Motors hardware version |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneSpeedSettingsMaxRotationSpeed | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current | ||
| ) |
Set Max Rotation speed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current max rotation speed in degree/s |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneSpeedSettingsMaxVerticalSpeed | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current | ||
| ) |
Set Max Vertical speed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current max vertical speed in m/s |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneSpeedSettingsStateMaxRotationSpeedChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current, | ||
| float | _min, | ||
| float | _max | ||
| ) |
Max rotation speed sent by product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current max rotation speed in degree/s |
| _min | Range min of rotation speed |
| _max | Range max of rotation speed |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneSpeedSettingsStateMaxVerticalSpeedChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| float | _current, | ||
| float | _min, | ||
| float | _max | ||
| ) |
Max vertical speed sent by product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _current | Current max vertical speed in m/s |
| _min | Range min of vertical speed |
| _max | Range max of vertical speed |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneSpeedSettingsStateWheelsChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _present | ||
| ) |
Presence of wheels sent by product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _present | 1 if present, 0 if not present |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateMiniDroneSpeedSettingsWheels | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _present | ||
| ) |
Presence of wheels.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _present | 1 if present, 0 if not present |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerAccessPointSettingsAccessPointChannel | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _channel | ||
| ) |
Set AccessPoint Channel.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _channel | AccessPoint Channel |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerAccessPointSettingsAccessPointSSID | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _ssid | ||
| ) |
Set AccessPoint SSID.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _ssid | AccessPoint SSID |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerAccessPointSettingsStateAccessPointChannelChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _channel | ||
| ) |
State sent when AccessPoint channel has been sent.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _channel | AccessPoint Channel |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerAccessPointSettingsStateAccessPointSSIDChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _ssid | ||
| ) |
State sent when AccessPoint ssid has been sent.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _ssid | AccessPoint SSID |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerAccessPointSettingsStateWifiSelectionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_SKYCONTROLLER_ACCESSPOINTSETTINGSSTATE_WIFISELECTIONCHANGED_TYPE | _type, | ||
| eARCOMMANDS_SKYCONTROLLER_ACCESSPOINTSETTINGSSTATE_WIFISELECTIONCHANGED_BAND | _band, | ||
| uint8_t | _channel | ||
| ) |
Wifi selection from product.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _type | The type of wifi selection (only manual at the moment) |
| _band | The allowed band : 2.4 Ghz or 5 Ghz |
| _channel | The channel |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerAccessPointSettingsWifiSelection | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_SKYCONTROLLER_ACCESSPOINTSETTINGS_WIFISELECTION_TYPE | _type, | ||
| eARCOMMANDS_SKYCONTROLLER_ACCESSPOINTSETTINGS_WIFISELECTION_BAND | _band, | ||
| uint8_t | _channel | ||
| ) |
Set AccessPoint Band and Channel.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _type | The type of wifi selection (only manual at the moment) |
| _band | The allowed band : 2.4 Ghz or 5 Ghz |
| _channel | The channel |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerCameraResetOrientation | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Reset pan and tilt to center.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerCommonAllStates | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Get all product states.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerCommonStateAllStatesChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
State sent when all product states has been sent.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerDebugDebugTest1 | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| int8_t | _t1Args | ||
| ) |
Test 1 command.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _t1Args | Test 1 argument |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerDeviceConnectToDevice | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _deviceName | ||
| ) |
ask to connect to a device
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _deviceName | Device name |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerDeviceRequestCurrentDevice | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Request current connected Device.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerDeviceRequestDeviceList | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Request Device list.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerDeviceStateConnexionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_SKYCONTROLLER_DEVICESTATE_CONNEXIONCHANGED_STATUS | _status, | ||
| const char * | _deviceName, | ||
| uint16_t | _deviceProductID | ||
| ) |
Return device connexion status.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _status | Wifi status to Device |
| _deviceName | Device name |
| _deviceProductID | Device name |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerDeviceStateDeviceList | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _name | ||
| ) |
Return the available Device list.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _name | Device name |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerSettingsAllSettings | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Get all product settings, the product must send all settings.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerSettingsReset | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Reset all settings.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerSettingsStateAllSettingsChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
State sent when all settings has been sent.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerSettingsStateProductSerialChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _serialNumber | ||
| ) |
Product serial number.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _serialNumber | Serial number (hexadecimal value) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerSettingsStateResetChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
State sent when all settings has been resetting.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerSkyControllerStateBatteryChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _percent | ||
| ) |
State sent when SkyController battery has changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _percent | SkyController battery |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerSkyControllerStateGpsFixChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| uint8_t | _fixed | ||
| ) |
State sent when SkyController gps fix has changed.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _fixed | SkyController fixed |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerWifiConnectToWifi | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _bssid, | ||
| const char * | _ssid, | ||
| const char * | _passphrase | ||
| ) |
Connect to wifi.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _bssid | Wifi bssid |
| _ssid | Wifi ssid |
| _passphrase | Wifi passphrase |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerWifiForgetWifi | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _ssid | ||
| ) |
Forget wifi.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _ssid | Wifi ssid |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerWifiRequestCurrentWifi | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Request current connected wifi.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerWifiRequestWifiList | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Request wifi list.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerWifiStateAllWifiAuthChannelChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen | ||
| ) |
Notify the end of the list of Authorized wifi Channel.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerWifiStateConnexionChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _ssid, | ||
| eARCOMMANDS_SKYCONTROLLER_WIFISTATE_CONNEXIONCHANGED_STATUS | _status | ||
| ) |
Return connexion status.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _ssid | Wifi ssid |
| _status | Wifi status |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerWifiStateWifiAuthChannelListChanged | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| eARCOMMANDS_SKYCONTROLLER_WIFISTATE_WIFIAUTHCHANNELLISTCHANGED_BAND | _band, | ||
| uint8_t | _channel, | ||
| uint8_t | _in_or_out | ||
| ) |
Notify of an Authorized Channel.
| buffer | Pointer to the buffer in which the library should store the command |
| buffLen | Size of the buffer |
| cmdLen | Pointer to an integer that will hold the actual size of the command |
| _band | The band of this channel : 2.4 GHz or 5 GHz |
| _channel | The authorized channel. |
| _in_or_out | Bit 0 is 1 if channel is authorized outside (0 otherwise) ; Bit 1 is 1 if channel is authorized inside (0 otherwise) |
| eARCOMMANDS_GENERATOR_ERROR ARCOMMANDS_Generator_GenerateSkyControllerWifiStateWifiList | ( | uint8_t * | buffer, |
| int32_t | buffLen, | ||
| int32_t * | cmdLen, | ||
| const char * | _bssid, | ||
| const char * | _ssid, | ||
| uint8_t | _secured, | ||
| uint8_t | _saved, | ||
| int32_t | _rssi, | ||
| int32_t | _frequency | ||
| ) |
Return the available wifi list.