Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
W wiki
  • Project overview
    • Project overview
    • Details
    • Activity
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
Collapse sidebar
  • pub
  • wiki
  • Wiki
  • rocky_pub_wiki_main

Last edited by Guido Voigt Apr 08, 2020
Page history

rocky_pub_wiki_main

ROCKY Asset Tracking Wiki Main Page

ROCKY-2

LED

  • [RED LED]
  • [GREEN LED]
  • [YELLOW LED]

Button

  • [POWER]
  • [CHECK]

SENSOR

  • [TEMPERATURE]
  • [HUMIDITY]
  • [ACCELERATION]
  • [GYRO]
  • [MAGNETIC]
  • [PREASURE]
  • [LIGHT]
  • [GNSS]
  • [BLE]
  • [CELLLOCATE]
  • [BATTERY]

CHARGE

  • [Wireless Qi Charge]

How to Use

  1. charge the ROCKY wireless with a QI charger
  2. 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

  1. login into your D2Sphere Account
  2. go to "Operate" select your Device ID/IMEI
  3. double click the device Row
  4. select "console" Menu
  5. type in bottom left text filed $pfal,cnf.show
  6. press ENTER
  7. see in left Text Console the current setup
  8. change the values by type $pfal,cnf.set,<Value>

How to Re- Configure

  1. login into your D2Sphere Account
  2. go to "Operate" select your Device ID/IMEI
  3. double click the device Row
  4. select "console" Menu
  5. 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.)
  1. 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
  1. you can change name by send CMD $PFAL,CNF.SET,DEVICE.NAME=DEMO_ROCK
  2. 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)
  3. 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

  1. login into your D2Sphere Account
  2. go to "Operate" select your Device ID/IMEI
  3. double click the device Row
  4. select data Menu
  5. to see historical Data Graph click on the Key you want to see

Other References

  • ROCKY PFAL SPEC

D2Sphere

  • D2Sphere Main Wiki
  • D2Sphere REST API Swagger SPec.

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
Clone repository
  • AVL Filesystem
  • BOLERO40_GNSS_improvement
  • BOLERO40_improvement_of_the_GNSS_performance
  • NFC_commands,_event,_dynamic_variable
  • Promotion_Kit_Settings
  • Workbench Mac Installation Readme
  • avl_aes_key_handling
  • avl_ble
  • avl_blueid
  • avl_config_commented_1
  • avl_ecodrive
  • avl_feature_list
  • avl_frp_main
  • avl_fw_update
  • avl_premium_feature_cpc
View All Pages