ROCKY Asset Tracking Wiki Main Page
LED
- [RED LED]
- [GREEN LED]
- [YELLOW LED]
Button
SENSOR
- [TEMPERATURE]
- [HUMIDITY]
- [ACCELERATION]
- [GYRO]
- [MAGNETIC]
- [PREASURE]
- [LIGHT]
- [GNSS]
- [BLE]
- [CELLLOCATE]
- [BATTERY]
CHARGE
How to Use
- charge the ROCKY wireless with a QI charger
- switch on device by press Power Button 1 sec.
- red LED show CPU activity
- green LED show GNSS state (blink= acquire, on = fix)
- yellow LED show Network state (blink= attaching/search, on = TCP connected)
How to Setup
- login into your D2Sphere Account
- go to "Operate" select your Device ID/IMEI
- double click the device Row
- select "console" Menu
- type in bottom left text filed
$pfal,cnf.show
- press ENTER
- see in left Text Console the current setup
- change the values by type
$pfal,cnf.set,<Value>
How to Re- Configure
- login into your D2Sphere Account
- go to "Operate" select your Device ID/IMEI
- double click the device Row
- select "console" Menu
- here you can send Commands to the device id the devices is connected to the server
- please check if device is connected (green dot in console view on name or yellow LED on device is on)
- you can force reconnect to press "check" button (red LED should start blinking after 5-10 sec.)
- when connected you can typ in console (type in bottom left text filed
$pfal,cnf.show
)
DEVICE.NAME=DEMO_ROCK
DEVICE.INTERVAL=600,43020,300 ... executing
DEVICE.NAME=DEMO_ROCK
DEVICE.INTERVAL=600,43020,300
MSG.ALIVE=<sfal.event text='State Batt:&(vbat) Temp:&(vtemp) Humi:&(vhumi) Net:&(opname)/&(lac)/&(cellid)'>
MSG.CHECK=<sfal.event text='Check Batt:&(vbat) Temp:&(vtemp) Humi:&(vhumi) Net:&(opname)/&(lac)/&(cellid)'>
MSG.VALUES=<sfal.pos _batt='&(svbat)' _temp='&(svtemp)' _humi='&(svhumi)' _accl='[&(svaccx),&(svaccy),&(svaccz)]'>
NET.URL=stage.d2sphere.com:4444
SUCCESS
- you can change name by send CMD
$PFAL,CNF.SET,DEVICE.NAME=DEMO_ROCK
- you can change measure interval or data sampling interval wiht CMD
$PFAL,CNF.SET,DEVICE.INTERVAL=600,43020,300
where
DEVICE.INTERVAL=<data sample interval>,<tcp connect interval>,<connect timeout / gnss timeout>
(all values in sec)
- EXAMPLES:
- sample data all 3 min and sent all 1h to server (wait 3min to get GNSS fix and stay 3min TCP connected)
$PFAL,CNF.SET,DEVICE.INTERVAL=180,3420,180
- sample data all 10 min and sent all 12h to server (wait 5min to get GNSS fix and stay 5min TCP connected)
$PFAL,CNF.SET,DEVICE.INTERVAL=600,42900,300
How to Read Data
- login into your D2Sphere Account
- go to "Operate" select your Device ID/IMEI
- double click the device Row
- select data Menu
- to see historical Data Graph click on the Key you want to see
Other References
D2Sphere
Rocky Variable Names
PFAL commands:
CNF.ShowUser - Show parameter
CNF.Clear - Clear parameter
CNF.Set,Key=Value - Set config parameter
CNF.Get,Key - Get config parameter
GPS.Position - Show current position
MSG.Version.Software - Show Version
MSG.Version.Complete - Show Comlete Version
MSG.Version.Complete.Ext - Show Comlete Version
MSG.Info.Protocol,<"text"> - Dump text with variables
MSG.Info.Send,<"text"> - Send text notification
MSG.Alarm.Send,<"text"> - Send event notification
GSM.IMEI - Show IMEI number
GSM.IMSI - Show IMSI number
GSM.ICCID - Show ICCID number
NET.State - Show network state
NET.Reconnect - Reconnect network
SYS.Device.Reset - Restart device
SYS.Device.Sleep - Put device to sleep
SYS.Device.Update - Install update via xmodem
SYS.Device.WebUpdate,<"URL"> - Install update from URL
SYS.Help - Display simple help
Configuration:
MSG.ALIVE=<message>
MSG.VALUES=<message>
MSG.LOGIN=<message>
MSG.SLEEP=<message>
MSG.DOZE=<message>
NET.URL,<URL|IP>:<port>
NET.APN=<APN>
NET.USER=<User>
NET.PWD=<PWD>
DEVICE.NAME=<name>
DEVICE.PRODID=<prodid>
DEVICE.INTERVAL=<alive>,<measure>,<doze>
Dyn.Variables:
&(device) - device name
&(nlat.n) - current nautical latitude
&(nlon.n) - current nautical longitude
&(nlat) - current latitude
&(nlon) - current longitude
&(nalt) - current altitude
&(nfix) - current fix state
&(nsat) - current number satelites
&(ndop) - current pdop value
&(imei) - modem IMEI number
&(imsi) - SIM IMSI number
&(iccid) - SIM ICCID number
&(csq) - current CSQ value
&(creg) - current registration value
&(opid) - current operator id
&(opname) - current operator name
&(lac) - current local area code
&(cellid) - current cell id
&(vbat) - current battey value
&(vtemp) - current temperature value
&(vhumi) - current humidity value
&(vaccX) - current x-acceleration value
&(vaccY) - current y-acceleration value
&(vaccZ) - current z-acceleration value
&(accG) - current max acceleration shock
&(stime) - stored time value
&(svbat) - stored battey value
&(svtemp) - stored temperature value
&(svhumi) - stored humidity value
&(svaccX) - stored x-acceleration value
&(svaccY) - stored y-acceleration value
&(svaccZ) - stored z-acceleration value
&(saccG) - stored max acceleration shock