Please enable JavaScript.
Coggle requires JavaScript to display documents.
BridgePort915 code flow - Coggle Diagram
BridgePort915 code flow
main()
-
-
-
-
-
-
-
-
-
-
-
Set Test points TP1,TP2,TP3
-
while(1)
-
Switch(State)
Case TX_STATE
It will send the data as per uplink, downlink and broadcast time slots. It will change its state to RX_STATE at the end of the downlink time slot
Case RX_STATE
It will form HEX packet by collecting the RF data like Tags DATA RSSI, LQI values and sends to User Application through Lantronix UART port
-
-
-
UART frame handler
while (UART[LANTX_CELL_IN_ARRAY].Bit.RxBufferEmpty == 0 && UART[LANTX_CELL_IN_ARRAY].Bit.RxError == 0 &&iLocate_UARTFullMessageReceived == 0 &&MsCounter != (Configuration.BridgePortSectorID * TIME_BETWEEN_SYNC_TRANSMISSION))
Parse all incoming UART data until a full message was parsed and as long as this isn't the sync transmission time
-