CXXB Command - Text Capturers
Configures text capturers to process data from serial ports and internal modules.
What is it for?
| Use case | Description |
|---|---|
| 📟 Fingerprint readers | Capture biometric data |
| ⛽ Fuel sensors | Process level frames |
| 📡 Modem info | Extract cellular signal and operator |
| 📍 Raw GPS data | Capture NMEA frames |
Description
Allows configuration of up to 8 capture buffers (150 characters each) to process data from:
- Serial ports (fingerprint readers, fuel sensors, etc.)
- GPS module
- Cellular modem
- Bluetooth
See also: XB Command
Commands
Configure
SCXXBaabdlllttt,s..s,e..e,m,hfQuery
QCXXBaaResponse
RCXXBaabdlllttt,s..s,e..e,m,hfParameters
| Parameter | Description | Values |
|---|---|---|
| aa | Buffer index | 00-07 |
| b | Communication medium | - = NOP, S = Serial, G = GPS, M = Modem, B = Bluetooth |
| d | Serial port | 0 = Config, 1 = Accessories, 2 = Internal |
| lll | Characters for reception end | 000 = NOP |
| ttt | Timeout in centiseconds | 000 = NOP |
| s..s | Start characters (header) | Text or hex codes |
| e..e | End characters (footer) | Text or hex codes |
| m | Data format | A = ASCII, B = Binary, H = Hexa |
| hf | Include header/footer | 0 = No, 1 = Yes |
If timeout is 0 (NOP), after 2.5 seconds without completing reception the packet is discarded.
The hf parameter is available from firmware v1.2.05 IoT.
Capturer Examples
Cellular signal capture
>SCXXB00M0004001,+CSQ: ,\2C,A<Operator capture (COPS)
>SCXXB01M0000000,+COPS: ,\0D\0A,A<Complete NMEA frame capture
>SCXXB02G0000000,$G,\2A,A<Cell information capture
SCXXB03M0000000,+QENG: ,\r\n,AGPS antenna status capture
>SCXXB04G0000000,STATUS=,\2A,A<Integration with User Reports
Configure reports
>SUC00 $00:CSQ=| QXB00,5,100<
>SUC01 $01:COPS=| QXB01,5,100<
>SUC02 $02:NMEA=| QXB02,5,100<
>SUC03 $03:CELL=| QXB03,5,100<
>SUC04 $04:ANTENA=| QXB04,5,100<Configure trigger rules
>SRL00E;TRG=XB00+;ACC={GU000H;@TRM}<
>SRL01E;TRG=XB01+;ACC={GU100H;@TRM}<
>SRL02E;TRG=XB02+;ACC={GU200H;@TRM}<
>SRL03E;TRG=XB03+;ACC={GU300H;@TRM}<
>SRL04E;TRG=XB04+;ACC={GU400H;@TRM}<Example: CAN Interface (C5)
Incoming CAN frame
>RVPV,1=1M8GDM9A_KP042788,2=2200,3=45,B=66010,14=30000,15=75,2A=90,2C=340;*19<Capturer configuration
>SCXXB00S2000100,RVPV\2C,\3B\2A,A<- Header:
RVPV\2C(RVPV,) - Footer:
\3B\2A(;*) - Timeout: 1 second
Integrated user report
>SUC00 $REQ| #| QCQ,5,64| $\3B| QXB00,5,100<Result
>REQ00210918170359-2778100-064258570001517F000000000049D13010900001516;1=1M8GDM9A_KP042788,2=2200,3=45,B=66010,14=30000,15=75,2A=90,2C=340;ID=037883;*01<Compatibility
💾Firmware:v1.00.00
SP-IOT
SM-IOT
Last updated