Skip to Content

CXXB Command - Text Capturers

Configures text capturers to process data from serial ports and internal modules.


What is it for?

Use caseDescription
📟 Fingerprint readersCapture biometric data
Fuel sensorsProcess level frames
📡 Modem infoExtract cellular signal and operator
📍 Raw GPS dataCapture 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,hf

Query

QCXXBaa

Response

RCXXBaabdlllttt,s..s,e..e,m,hf

Parameters

ParameterDescriptionValues
aaBuffer index00-07
bCommunication medium- = NOP, S = Serial, G = GPS, M = Modem, B = Bluetooth
dSerial port0 = Config, 1 = Accessories, 2 = Internal
lllCharacters for reception end000 = NOP
tttTimeout in centiseconds000 = NOP
s..sStart characters (header)Text or hex codes
e..eEnd characters (footer)Text or hex codes
mData formatA = ASCII, B = Binary, H = Hexa
hfInclude header/footer0 = 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,A

GPS 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