Skip to main content

XASCN — Serial Camera Notifications

Reports asynchronous serial camera state notifications when camera mode 2 is enabled and unsolicited routing is configured.

Qualifier

  • R (response/notification only)

Format

  • Notification: >RXASCN{A},[{BBB}],{C};ID={IMEI}<

Where:

FieldDescription
ACamera notification state
BBBPhoto ID (optional; can be empty)
CPort ID (0 = device serial port)
IMEIDevice modem IMEI included in notification envelope

State Codes

AMeaning
0Serial camera ready
3Sending photo to FTP server
4Photo successfully sent to FTP server (G17 becomes momentarily true)
5Serial camera is not responding
6Capture command could not be sent to camera
7Camera did not recognize capture command (temporary communication error)
8Captured photo information could not be read
9Communication error while camera sends photo to device
10Could not create photo file on device
11Could not send photo to FTP server because FTP service is busy
12Could not connect to FTP server (retry policy applies)
13Another photo is being captured (photo queued)
14Error capturing photo: memory full (photo removed from queue)
15Error capturing photo (photo removed from queue)
16Max photo ID reached; no more photos can be captured
17Request limit reached
19FTP not configured

Examples

>RXASCN4,598,0;ID=123456789012345<
>RXASCN5,,0;ID=123456789012345<

Notes

  • Notifications are emitted by runtime camera state changes (not by query polling).
  • XASCM configures mode/route/resolution, while XASCN reports asynchronous camera state.
  • In current implementation, port ID is 0.