alan broad
/
carbon_v5_arm_studio
arm studio build
Diff: inc/commI2C.h
- Revision:
- 20:62a1a264fa1e
- Parent:
- 18:d95e1a2c4303
- Child:
- 24:e5ff476cd04e
diff -r cff66b2c15b5 -r 62a1a264fa1e inc/commI2C.h --- a/inc/commI2C.h Mon Feb 04 19:23:58 2019 +0000 +++ b/inc/commI2C.h Sat Apr 27 15:27:48 2019 +0000 @@ -73,14 +73,16 @@ uint8_t bAck; //true if ack return from xmit uint8_t bRx1; //true if rx1 return uint8_t bAckdata; //true if rx data - int8_t rssi; //last rssi, 0 if no rx1/2 ack + int8_t rssi; //last rssi, 0 if no rx1/2 ack --> old, don't use, bad if rssi < -128 uint8_t rxLen; //length of returned rxdata uint8_t rxData[I2C_MAX_ACK_DATA]; //array for rx Data int16_t mdot_ret; //mdot return code after calling send function uint8_t chksum_err; //1 if chksum err on proc upstream pkt - int8_t snr; //last snr, 0 if no rx1/2 ack + int8_t snr; //last snr, 0 if no rx1/2 ack --> old, don't use, bad if snr < -128 uint8_t appPort; //rcvd app port (rev 0309) - uint8_t rsvd[14]; //reserved for future use + int16_t rssi2; //16 bit rssi because rssi can be < -128 + int16_t snr2; //16 bit snr if snr < -128 + uint8_t rsvd[10]; //reserved for future use }pkt_ack; //structure: results returned to proc for eui and api_level //v0307: eui pkt now used to read/set radio params also