Quick reference
- API: https://api.lab5e.com/span/.
- API reference: https://api.lab5e.com/span/docs/
- Dashboard: https://span.lab5e.com
APNs
| Provider | APN name |
|---|---|
| Telenor N | mda.lab5e |
| COM4 | lab5e.com4.net |
Generic AT commands
| Command | Description |
|---|---|
AT+CIMI |
Show IMSI |
AT+CGSN=1 |
Show IMEI |
AT+CGPADDR |
Show allocated IP address |
AT+CGDCONT? |
Show the APN configuration (the PDP contexts) |
AT+CGACT? |
Show PDP activation |
Configuring APN
Turn off radio
AT+CFUN=4
Configure APN
AT+CGDCONT=0,"IP","mda.lab5e"
-- or --
AT+CGDCONT=0,"IP","lab5e.com4.net"
Turn on radio
AT+CFUN=1
Data endpoints
Endpoints are the same for all providers.
| Protocol | Address | Notes |
|---|---|---|
| UDP | 172.16.15.14:1234 |
Payload is accepted as is |
| CoAP | coap://172.16.15.14:5683/ |
POST to send, GET to retrieve |
| DTLS | data.lab5e.com:1234 |
DTLS endpoint for internet-based devices. Client certificate required. |
| CoAPs | coaps://data.lab5e.com:5684/ |
CoAP over DTLS for internet-based devices. Client certificate required |
Output endpoints
| Protocol | Address |
|---|---|
| MQTT | tls://mqtt.lab5e.com:8883 |
| Websocket | wss://api.lab5e.com/span/collections/<collectionId>/from |