diff --git a/Multiprotocol/Multiprotocol.h b/Multiprotocol/Multiprotocol.h index ab072b2..e44ee9b 100644 --- a/Multiprotocol/Multiprotocol.h +++ b/Multiprotocol/Multiprotocol.h @@ -19,7 +19,7 @@ #define VERSION_MAJOR 1 #define VERSION_MINOR 3 #define VERSION_REVISION 0 -#define VERSION_PATCH_LEVEL 80 +#define VERSION_PATCH_LEVEL 81 //****************** // Protocols diff --git a/Multiprotocol/Propel_nrf24l01.ino b/Multiprotocol/Propel_nrf24l01.ino index 3d3b8ae..2b59805 100644 --- a/Multiprotocol/Propel_nrf24l01.ino +++ b/Multiprotocol/Propel_nrf24l01.ino @@ -255,10 +255,11 @@ uint16_t PROPEL_callback() if (_BV(NRF24L01_07_RX_DR) & NRF24L01_ReadReg(NRF24L01_07_STATUS)) {// data received from the model NRF24L01_ReadPayload(packet_in, PROPEL_PACKET_SIZE); - if (packet_in[0] == 0xa3 && memcmp(&packet_in[1],rx_id,4)==0) + if (packet_in[0] == 0xa3 && memcmp(&packet_in[1],rx_id,3)==0) { telemetry_counter++; //LQI v_lipo1=packet[5]; //number of life left? + v_lipo2=packet[4]; //bit mask: 0x80=flying, 0x08=taking off, 0x04=landing, 0x00=landed/crashed if(telemetry_lost==0) telemetry_link=1; } diff --git a/Protocols_Details.md b/Protocols_Details.md index be727c5..f746b90 100644 --- a/Protocols_Details.md +++ b/Protocols_Details.md @@ -1127,7 +1127,7 @@ Model: PROPEL 74-Z Speeder Bike Autobind protocol -Telemetry: RSSI is equal to TX_LQI which indicates how well the TX receives the RX (0-100%). A1 voltage should indicate the numbers of life remaining (not tested). +Telemetry: RSSI is equal to TX_LQI which indicates how well the TX receives the RX (0-100%). A1 voltage should indicate the numbers of life remaining (not tested). A2 is giving the model status using a bit mask: 0x80=flying, 0x08=taking off, 0x04=landing, 0x00=landed/crashed CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10|CH11|CH12|CH13|CH14 ---|---|---|---|---|---|---|---|---|----|----|----|----|----