kumar singh
/
Dealer_23Feb
Dummy Lora Packet Sending
Fork of Dealer_18feb17 by
Diff: Lora.h
- Revision:
- 18:86f069689502
- Parent:
- 16:7703b9d92326
- Child:
- 19:886d50ecc718
diff -r 758fb8454ab0 -r 86f069689502 Lora.h --- a/Lora.h Sat Feb 18 08:36:54 2017 +0000 +++ b/Lora.h Sat Feb 18 08:52:04 2017 +0000 @@ -124,6 +124,20 @@ uint8 FCS; }; +struct CheckOUT_PacketType +{ + uint8 Header; + uint8 Protocol_Version; + uint8 Packet_Type; + uint8 VIN[17]; + uint8 ODO_METER_READING[3]; + uint16 OBD_Battery_Voltage; + uint16 Car_Battery_Voltage; + uint8 OBD_Battery_Temperature; + uint8 Car_Ambient_Temperature; + uint8 FCS; +}; + struct Motion_PacketType { uint8 Header; @@ -156,6 +170,7 @@ extern Vehicle_Status_PacketType Vehicle_Status_Lora_Packet; //Allocate Memory for Movement Lora Packets extern Near_Car_Beacon Near_Car_Packet; extern Fixed_Beacon Fixed_Beacon_Packet; + extern CheckOUT_PacketType CheckOUT_Packet; void Send_Lora_Packet_To_Gateway(uint8* Command_To_Send,uint8 Length); extern void Flip_Lora_Packet_Sending();