CalAmp FOB10-BL Hardware And Installation Manual Download Page 22

 

New PEG actions 

Action 

Modifier 

Description 

ACT_BT_KEYFOB 

0 – DISCOVER/CONNECT 

1 – HUP 

Start discovery for a period of time  

ACT_BT _LISTSEND 

0NONE 

 

send list of discovered keyfobs to server in 

an app message 

ACT_KEYFOB_OUTPUT 

B7-b6: 

Output Dest 

0 – LED 

1 – BUZZER 

 

B5-b4: 

Pattern  

0 – Slow 1Hz  

1 – Fast 5Hz 

B3-b0: 

count 

 

beep buzzer count (up to 4) times  

 

 

 

 

None 

disconnect FOB 

 

 

 

 

 

Params 

 

size (bits) 

Desc 

BT_KEYFOB_DISCOVER_TIME 

16 

Discovery time period (30) 

BT_KEYFOB_CID 

16 

filter for customer’s keyfobs default (0x0000) 

BT_KEYFOB_PATHATT 

a single keyfob needs to have a greater RSSI 

than all other discovered keyfobs; exceeding 

by at least this configured amount   

BT_KEYFOB_MODE  

9 = USE_FOB_RSSI  

10 = USE_FOB_BUTT 

 

BT_KEYFOB_QUERY_DRIVER_TIMEOUT  8 

1s/bit wait for this long to see button press 

BT_KEYFOB_USE_FOB_BUTT 

0-3 configures which button on the fob is 

designated as the driver’s response button 

ACC_BLE_RSSI_HILO 

configure which accumulator holds RSSI of 

driver’s fob 

ACC_BLE_FOB_BATT 

configure which accumulator holds battery 

status of driver’s fob 

 

 

 

 

 

 

 

 

 

 

 

 

 

Comment [n2]: 

Use Existing Bluetooth Mode 

configuration and have two enumerations for FOB 

use, 1 for Use FOB RSSI and 1 for Use FOB BUTT 

Comment [n3]: 

NF check understanding. Should 

have new accumulator type BLE_RSSI. 

Comment [n4]: 

As per comment above. 

Summary of Contents for FOB10-BL

Page 1: ...BLE KEYFOB Hardware and Installation Guide Version 1 0 0 SEPTEMBER 1 2015...

Page 2: ...ith and describes the operation and use of the Software Documentation Copies means the actual copies of all or any portion of the Documentation including backups updates merged or partial copies permi...

Page 3: ...lAmp Customer agrees to include the notice Copyright 1999 20015 CalAmp DataCom Inc All Rights Reserved in Applications developed with the Software Customer agrees to include the following CalAmp Copyr...

Page 4: ...are maintained and possession of the copy is retained in a secure location 2 Allow access to the Application for unlicensed users 3 Rent lease sublicense or lend the Application or its rights under t...

Page 5: ...M OR OCCASIONED BY YOUR USE OF THE SOFTWARE DOCUMENTATION OR RELATED MATERIALS EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES IN THE EVENT THE FOREGOING IS FOUND BY A COURT OF COMPETENT JURISDICTI...

Page 6: ...County for resolution of any dispute related to this Agreement U S GOVERNMENT PROTECTED RIGHTS The Software Documentation and Related Materials are provided with RESTRICTED RIGHTS Use duplication or d...

Page 7: ...munications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be...

Page 8: ......

Page 9: ...Fob data contents 13 Version letter encoding 14 txpw contents 14 Scan response packet contents 15 Overview of Bluetooth Automatic Driver ID process 15 State Machine for driver ID discovery 15 State M...

Page 10: ...te diagram below will only work if the KeyFob is connected to BTDB button state coded as 2 bits Not pressed 00 Pre short press 01 Short Press 10 Long Press 11 The three buttons are bit coded into a si...

Page 11: ...sage on long press repeat timeout 00x1xxxx generate message on long press release 001xxxxx Keyfob configuration Stored on individual Keyfobs units bit size bytes default Short Press minimum 100ms 1 2...

Page 12: ...bounced a button release event is generated and if configured a message is generated with button state 0b00000000 and reason code 0b00110001 0 Button 1 is pushed a Button 2 is pushed before short pres...

Page 13: ...onfigured a message is generated with button state 0b00000010 and reason code 0b00010001 g Button 1 long press time a long press event is generated and if configured a message is generated with button...

Page 14: ...above that will include CID button config etc Actual crc polynomial TBD This is to be used to determine if the configuration is as expected N A s 1 button state see above 0x00 no buttons pressed r 1...

Page 15: ...n range of several LMUs the LMU will only look for FOBs when the PEG script executes PEG action State Machine for Finding Fobs using Beeps and Buttons Description LMU is asleep saving power Key Fob s...

Page 16: ...fob is selected as the driver s fob otherwise if configured with BT_KEYFOB_USE_FOB_BUTT config TBD BT Middleware connects to each candidate fob and requests the buzzer to sound for TBD on bench start...

Page 17: ...n agent TBD o If required LMU will download new config or firmware for fob the BT middleware will contact the config service to update the config as necessary the BT middleware will contact the OTA se...

Page 18: ...Sequence diagram of discovery of driver id when only one fob in range...

Page 19: ...Sequence Diagram of discovery of driver ID using buzzer and button...

Page 20: ...Sequence diagram of connecting to a single fob to sound buzzer during driver id discovery...

Page 21: ...ew custom primary service button r 2 1st byte is the button state 2nd byte is the reason code identical to the advertisement packet Config control New custom primary service Config r w 16 read write f...

Page 22: ...have a greater RSSI than all other discovered keyfobs exceeding by at least this configured amount BT_KEYFOB_MODE 8 9 USE_FOB_RSSI 10 USE_FOB_BUTT BT_KEYFOB_QUERY_DRIVER_TIMEOUT 8 1s bit wait for this...

Page 23: ...D discovery process option 3 Both of the above Over the Air Update Note that it is possible that a different fob could be connected after an OTA upgrade and so the next ID report for the upgraded fob...

Page 24: ...of Server Checks fob s version against any queued nupdates and determines if one is available Format of Fob OTA ID report This is the LM Direct ID report for the Bluetooth fob that is sent from the LM...

Page 25: ...0 0 which 1 1 Note that the order within JSON arrays is fixed but the order in JSON objects is not fixed and so for example the ids member is not necessarily the first member and within the extensions...

Page 26: ......

Page 27: ...des different advertisement timing detection of button states and reason coding Keyfob configuration storage done or only ATE Keyfob Config service Keyfob measure rssi service characteristic This is m...

Page 28: ...selection of keyfob by measuring rssi on the key fob Includes state machine to connect to each candidate keyfob and request RSSI measurement LMU selection of keyfob by beep and button on the key fob...

Reviews: