This is an old revision of the document!
The PIDflight Lap protocol uses a slightly modified version of the Multiwii Serial Protocol.
// Initialise all connected devices identifiers starting with 1 MSP.sendMessage(MSP.WILDCARD_DEVICE_ID, MSP.MSP_SET_DEVICE_ID, 1);
Name | Code | Description |
---|---|---|
MSP_API_VERSION | 1 | |
MSP_STATUS | 4 | |
MSP_RESET | 5 | |
MSP_RSSI_CALIBRATE | 6 | |
MSP_START | 7 | |
MSP_ACTIVATE | 8 | |
MSP_DEACTIVATE | 9 | |
MSP_DEVICE_ID | 10 | |
MSP_SET_DEVICE_ID | 11 | |
MSP_CHANNEL | 20 | |
MSP_SET_CHANNEL | 21 | |
MSP_CURRENT_LAP | 30 | |
MSP_LAP_MIN_TIME | 34 | |
MSP_SET_LAP_MIN_TIME | 35 | |
MSP_LAP_MAX | 37 | |
MSP_SET_LAP_MAX | 38 | |
MSP_RSSI | 40 | |
MSP_RSSI_THRESHOLD | 42 | |
MSP_SET_RSSI_THRESHOLD | 43 | |
44 | ||
45 | ||
MSP_EEPROM_WRITE | 250 |