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:
| Field | Description |
|---|---|
A | Camera notification state |
BBB | Photo ID (optional; can be empty) |
C | Port ID (0 = device serial port) |
IMEI | Device modem IMEI included in notification envelope |
State Codes
A | Meaning |
|---|---|
0 | Serial camera ready |
3 | Sending photo to FTP server |
4 | Photo successfully sent to FTP server (G17 becomes momentarily true) |
5 | Serial camera is not responding |
6 | Capture command could not be sent to camera |
7 | Camera did not recognize capture command (temporary communication error) |
8 | Captured photo information could not be read |
9 | Communication error while camera sends photo to device |
10 | Could not create photo file on device |
11 | Could not send photo to FTP server because FTP service is busy |
12 | Could not connect to FTP server (retry policy applies) |
13 | Another photo is being captured (photo queued) |
14 | Error capturing photo: memory full (photo removed from queue) |
15 | Error capturing photo (photo removed from queue) |
16 | Max photo ID reached; no more photos can be captured |
17 | Request limit reached |
19 | FTP 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).
XASCMconfigures mode/route/resolution, whileXASCNreports asynchronous camera state.- In current implementation, port ID is
0.