Lantronix FOX3-3G-BLE Application Note

Lantronix FOX3-3G-BLE Application Note

How to use ble
Hide thumbs Also See for FOX3-3G-BLE:

Advertisement

Quick Links

Application Note
How to Use BLE with the
FOX3-3G-BLE Device
Part Number APP-0012
Revision A October 2019

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FOX3-3G-BLE and is the answer not in the manual?

Questions and answers

Summary of Contents for Lantronix FOX3-3G-BLE

  • Page 1 Application Note How to Use BLE with the FOX3-3G-BLE Device Part Number APP-0012 Revision A October 2019...
  • Page 2 Intellectual Property © 2019 Lantronix, Inc. All rights reserved. No part of the contents of this publication may be transmitted or reproduced in any form or by any means without the written permission of Lantronix. Lantronix is a registered trademark of Lantronix, Inc. in the United States and other countries.
  • Page 3 BLE.SCANDURATION=<ScanDuration> - see table in section 1.5 October 2019 Initial Lantronix document. Added Lantronix document part number, logo, contact information, and links. For the latest revision of this product document, please check our online documentation at www.lantronix.com/support/documentation. How to Use BLE with the FOX3-3G-BLE Device...
  • Page 4: Table Of Contents

    1.4.2 Installing the Workbench software and loading the configuration into the device 7 1.4.3 Powering up the FOX3-3G-BLE with the help of either CA70 or CA69 ..... 8 1.4.4 Testing the BLE modes of the FOX3-3G-BLE device ..........8 1.4.4.1 PFAL commands implemented for BLE in the AVL firmware 3.0.x and 3.1.x ....
  • Page 5: Introduction

    (peripheral) device or a master (central) device depending on user required functionality of the device. FOX3-3G-BLE (Bluetooth Low Energy) has a Line Of Sight (LOS) range of up to 50* meters. As a slave, the FOX3-3G-BLE device connects to another BLE enabled device with an installed BLE App (e.g.
  • Page 6: What Is Needed To Get Started With Fox3-3G-Ble (As Master)

    * Please note that, when using the USB cable for device configuration you have to apply extra power to the FOX3-2G/3G/4G series. If you are going to use the Control-box for connection of FOX3-3G-BLE device to a PC, go to our website https://www.lantronix.com/products/fox3-series/...
  • Page 7: Installing The Workbench Software And Loading The Configuration Into The Device

    1.4.2 Installing the Workbench software and loading the configuration into the device To be able to communicate with the FOX3-3G-BLE device and load a configuration onto the device, you need to install the Workbench software. Go to the following link to download it: https://www.lantronix.com/products/workbench/...
  • Page 8: Powering Up The Fox3-3G-Ble With The Help Of Either Ca70 Or Ca69

    CA70 or CA31. To apply power to the device, plug in the 8pin connector of one of these cables to the 8pin connector of the FOX3-3G-BLE device. Finally, connect the power pins (wires at the end of the used cable - IN+, GND - refer to the package insert of the device) of the used cable to an external power source ranging from +12 to +32 VDC (e.g.
  • Page 9 True, as long as the BLE connection state of the FOX3-3G-BLE (slave) to a BLE master (Smartphone/Tablet/PC) has changed from connected to disconnected. It SYS.BLE.sDisconnected may happen that after the master device has disconnected an established connection, the connection of FOX3-3G-BLE (slave) to a master is lost.
  • Page 10: Setup Your Fox-3G-Ble Device As A Slave To Send Specific Data To A Master/Server

    1.4.4.2 Setup your FOX-3G-BLE device as a slave to send specific data to a master/server Below you will find an example, how to setup and establish the Bluetooth® connection between FOX3-3G-BLE and the host periphery (example App on the tablet with Android 4.4 and higher) and how they communicate between each other.
  • Page 11 BLE devices near the tablet The App should find "FOX3-3G-AVL". Please note that the maximum length for the FOX3-3G- BLE advertised name is 10 characters. Click on the name "FOX3-3G-AVL" (see Figure below) How to Use BLE with the FOX3-3G-BLE Device...
  • Page 12 Click on the "connect/disconnect" symbol to establish the BLE connection. Once the BLE connection between the FOX3-3G-BLE and the tablet is established, the FOX3- 3G-BLE generates the event: SYS.BLE.eConnected and starts sending its data periodically (every 5 seconds), (see Figure below).
  • Page 13: Setup Your Fox3-Ble Device As A Master To Scan For Ble Ibeacons

    $PFAL,Sys.Ble.Send,08,"Hello host device”. While receiving data from the FOX3-3G-BLE you can send texts or PFAL commands from the tablet to the FOX3-3G-BLE. Type Hello FOX3 in the upper field then hit “SEND” (see Figure below) Figure 7: Sending data from the tablet to the FOX3-3G-BLE The FOX3-3G-BLE receives this message and generates the EVENT: SYS.eBleData="Hello...
  • Page 14 AL2 starts scanning for iBeacons on timer event. In our example, the device scans every 20 seconds. The FOX3-3G-BLE scans for 12 seconds long for around iBeacons. This value of 12 seconds is predefined in the firmware and cann’t be customized by the users.
  • Page 15 ✓ Integrated NFC chipset for programming (You must change their format from ID/temp into iBeacon. The id and temp formats are currently not supported in the FOX3-3G-BLE) ✓ Operating temperature: -40°C to +85 °C ✓ 2 mounting ∅ 4mm holes ✓...

Table of Contents