LM Technologies LM3001 User Manual

Bluetooth 5.0 dual mode gateway
Hide thumbs Also See for LM3001:
Table of Contents

Advertisement

Quick Links

WIRELESS
EFFORTLESS
LM TECHNOLOGIES
LM3001 BLUETOOTH 5.0
DUAL MODE GATEWAY
USER GUIDE
Release Date: 08 Mar 2024
Reference: 2.5

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LM3001 and is the answer not in the manual?

Questions and answers

Summary of Contents for LM Technologies LM3001

  • Page 1 WIRELESS EFFORTLESS LM TECHNOLOGIES LM3001 BLUETOOTH 5.0 DUAL MODE GATEWAY USER GUIDE Release Date: 08 Mar 2024 Reference: 2.5...
  • Page 2: Table Of Contents

    3.2.24 Set/Query Classic Bluetooth mode 1.2. Overview 3.2.25 Set/Query SPP Server IP 3.2.26 Set/Query SPP Server Port 2. USING THE LM3001 WITH AN INTERNET BROWSER 3.2.27 Set/Query HID Server IP 2.1. Accessing the LM3001 3.2.28 Set/Query HID Server Port 2.2. Establishing TCP Connection with the LM3001 3.2.29 Query Surrounding Classic Bluetooth Device...
  • Page 3 Dual Mode Gateway OVERVIEW This document explains how to set up and operate the LM3001 Bluetooth Gateway. The LM3001 is a device used to bridge connected Bluetooth devices to a wired network infrastructure. To follow the examples in this guide, the user will require the following items: LM Technologies’...
  • Page 4: Lm3001

    Supports Bluetooth pairing Up to 4 external antennas supported Rated USB load of 0.3 A 1.2. OVERVIEW The LM3001 features several LEDs for UI as well as multiple ports for user interaction. Figure 1: LM3001 Overview Image STATUS LEDS PURPOSE...
  • Page 5: Using The Lm3001 With An Internet Browser

    “F” will remain on and solid. 4. When the LM3001 is connected to a wired, ethernet network, the LAN Indicator LED will remain on and solid. 5. Using an internet browser, navigate to the address http://192.168.1.111/ (the default IP address) to access the configuration settings for the device.
  • Page 6: Establishing Tcp Connection With The Lm3001 As A Client

    To ensure that Bluetooth devices can connect to the wired network, via the LM3001, the LM3001 must first establish a TCP connection to a device, such as a PC. Using an internet browser, navigate to the LM3001 using the default address http://192.168.1.111/. From there, navigate to Gateway Configuration -> Server Configuration as shown in the image below.
  • Page 7: Establishing A Bluetooth Connection With Lm3001 As Peripheral

    2.3. ESTABLISHING A BLUETOOTH CONNECTION WITH LM3001 AS PERIPHERAL The LM068 serial adaptor can be used to establish a Bluetooth connection to the LM3001. If using an LM068 with firmware version UNI_0300 or above, the LM068 must be initialized as an SPP central device before connecting to the LM3001.
  • Page 8 LM3001 Bluetooth 5.0 Dual Mode Gateway WWW.LM-TECHNOLOGIES.COM...
  • Page 9 Dual Mode Gateway Next use the “AT*FIND=ON\r\n” command to begin scanning for LM3001, with the default Bluetooth name of LMGW. Once the LM3001 is found, use the command “AT*FIND=OFF\r\n” to end the scan. See the image below for an example.
  • Page 10: Establishing A Bluetooth Connection With Lm3001 As Central

    2. 4 . ESTABLISHING A BLUETOOTH CONNECTION WITH LM3001 AS CENTRAL The LM3001 is also able to connect to Bluetooth peripheral devices, with the LM3001 acting as the central device. In this configuration, the LM3001 is able to automatically establish connections with peripheral devices which have already been paired.
  • Page 11 Dual Mode Gateway A new tab will open while the LM3001 is searching for Bluetooth devices to connect with. When the appropriate device becomes available, put the pin code in the text box and click the “Add List” button. The following image shows where to find the pin code and Bluetooth address when using the LM068.
  • Page 12 Bluetooth Address. Configure the device to be a Master, using the SPP profile and the socket type required. In this case, the LM3001 is configured as a TCP server. See following image for reference. Click the “Add” button when done.
  • Page 13 LM3001 Bluetooth 5.0 Dual Mode Gateway When the device has been added successfully, it’s connection status and port can be viewed as shown in the following image. WWW.LM-TECHNOLOGIES.COM...
  • Page 14: Accessing The At Command Interface

    3.1. ACCESSING THE AT COMMAND INTERFACE Follow the four steps in section 2.1. Accessing the LM3001 to ensure the LM3001 is properly connected to the host device. When these steps are complete, it is necessary to use a TCP terminal application (such as Hercules) to establish communications with the LM3001.
  • Page 15: Query System State

    LM3001 Bluetooth 5.0 Dual Mode Gateway PARAMETER DESCRIPTION: eth0ip: Ethernet IP address eth0mac: Ethernet MAC address wlan0ip: wireless network IP address wlan0mac: wireless network MAC address count: amount of Bluetooth modules embedded in the gateway memorysize: memory size of the gateway...
  • Page 16: Set/Query Ntp Server

    LM3001 Bluetooth 5.0 Dual Mode Gateway 3.2.5 SET/QUERY NTP SERVER Command Reply AT+NTPSERVER=<server>\r\n \r\nOK\r\n AT+NTPSERVER?\r\n \r\NTPSERVER:<server>\r\n \r\nOK\r\n EXAMPLE: AT+SETDATE=2023,1,5,16,35,12\r\n 3.2.6 QUERY MAJOR VERSION Command Reply AT+MAJORVER?\r\n \r\n+MAJORVER:<version>\r\n \r\nOK\r\n PARAMETER DESCRIPTION: version: query Bluetooth gateway system version COMMAND DESCRIPTION: This command is used for server to query Bluetooth gateway system version 3.2.7 QUERY MINOR VERSION...
  • Page 17: Set/Query Ethernet Ip

    LM3001 Bluetooth 5.0 Dual Mode Gateway 3.2.9 SET/QUERY ETHERNET IP Command Reply AT+ETHIP=<ipaddr>\r\n \r\nOK\r\n AT+ETHIP?\r\n \r\n+ETHIP:<ipaddr>\r\n \r\nOK\r\n PARAMETER DESCRIPTION: ipaddr: Ethernet IP address EXAMPLE: AT+ETHIP=192.168.1.111\r\n 3.2.10 SET/QUERY ETHERNET SUBNET MASK Command Reply AT+ETHMASK=<ipaddr>\r\n \r\nOK\r\n AT+ETHMASK?\r\n \r\n+ETHMASK:<ipaddr>\r\n \r\nOK\r\n PARAMETER DESCRIPTION: ipaddr: Ethernet IP address subnet mask EXAMPLE: AT+ETHMASK=255.255.255.0\r\n...
  • Page 18: Query Ethernet Mac Address

    LM3001 Bluetooth 5.0 Dual Mode Gateway PARAMETER DESCRIPTION: ipaddr: EXAMPLE: AT+ETHFIRSTDNS=8.8.8.8\r\n 3.2.13 QUERY ETHERNET MAC ADDRESS Command Reply AT+ETHMAC?\r\n \r\n+ETHMAC:<mac>\r\n \r\nOK\r\n 3.2.14 SET/QUERY GATEWAY NAME Command Reply AT+BTDEVICENAME=<name>\r\n \r\nOK\r\n AT+BTDEVICENAME?\r\n \r\n+BTDEVICENAME:<name>\r\n \r\nOK\r\n PARAMETER DESCRIPTION: name: less than 64 bytes EXAMPLE: AT+BTDEVICENAME=LM_GATEWAY\r\n 3.2.15 SET/QUERY GATEWAY NAME...
  • Page 19: Set/Query Classic Bluetooth Encryption

    LM3001 Bluetooth 5.0 Dual Mode Gateway 3.2.17 SET/QUERY CLASSIC BLUETOOTH ENCRYPTION Command Reply AT+BTENCENABLE=<enable>\r\n \r\nOK\r\n AT+BTENCENABLE?\r\n \r\n+BTENCENABLE:<enable>\r\n \r\nOK\r\n PARAMETER DESCRIPTION: enable: 0 disable 1 enable EXAMPLE: AT+BTENCENABLE=1\r\n 3.2.18 SET/QUERY CLASSIC BLUETOOTH DEVICE CODE Command Reply AT+BTCOD=<cod>\r\n \r\nOK\r\n AT+BTCOD?\r\n \r\n+BTCOD:<cod>\r\n \r\nOK\r\n PARAMETER DESCRIPTION: cod: 6 bytes, all characters are hexadecimal digits or letters.
  • Page 20: Set Remote Bluetooth Address And Pincode

    LM3001 Bluetooth 5.0 Dual Mode Gateway EXAMPLE: AT+BTSAVELINKKEY=1\r\n 3.2.21 SET REMOTE BLUETOOTH ADDRESS AND PINCODE Command Reply AT+SETSPECIFICPINCODE=<addr>,<pincode>\r\n \r\nOK\r\n PARAMETER DESCRIPTION: addr: Mac address of remote BT device pincode: max 16 bytes EXAMPLE: AT+SETSPECIFICPINCODE=00A3C80653F9,1234\r\n 3.2.22 DELETE REMOTE BLUETOOTH ADDRESS AND PINCODE...
  • Page 21: Set/Query Spp Server Ip

    LM3001 Bluetooth 5.0 Dual Mode Gateway 3.2.25 SET/QUERY SPP SERVER IP Command Reply AT+BTSPPSERVERIP=<ipaddr>\r\n \r\nOK\r\n AT+BTSPPSERVERIP?\r\n \r\n+BTSPPSERVERIP:<ipaddr>\r\n \r\nOK\r\n PARAMETER DESCRIPTION: ipaddr: EXAMPLE: AT+BTSPPSERVERIP=192.168.1.100\r\n 3.2.26 SET/QUERY SPP SERVER PORT Command Reply AT+BTSPPSERVERPORT=<port>\r\n \r\nOK\r\n AT+BTSPPSERVERPORT?\r\n \r\n+BTSPPSERVERPORT:<port>\r\n \r\nOK\r\n PARAMETER DESCRIPTION: port: port number of TCP socket, less than 65536...
  • Page 22: Query Surrounding Classic Bluetooth Device

    LM3001 Bluetooth 5.0 Dual Mode Gateway 3.2.29 QUERY SURROUNDING CLASSIC BLUETOOTH DEVICE Command Reply AT+BTINQ\r\n \r\n+BTINQ:<addr>,<cod>\r\n \r\nOK\r\n PARAMETER DESCRIPTION: addr: MAC address of remote BT device cod: Device code of remote BT device 3.2.30 PAIR WITH CLASSIC BLUETOOTH DEVICE Command Reply AT+BTPAIR=<addr>,<hcix>\r\n...
  • Page 23: Add The Server Configuration Information Of A Classic Bluetooth Device

    LM3001 Bluetooth 5.0 Dual Mode Gateway 3.2.33 ADD THE SERVER CONFIGURATION INFORMATION OF A CLASSIC BLUETOOTH DEVICE Command Reply AT+ADDBTDEVICESERVERCONFIG=<addr>,<role>,<profile>, \r\nOK\r\n <sockettype>\r\n AT+ADDBTDEVICESERVERCONFIG=<addr>,<role>,<profile>, \r\nOK\r\n <sockettype>,<serverip>,<serverport>\r\n PARAMETER DESCRIPTION: addr: MAC address of remote BT device role: 0 the gateway works as slave device...
  • Page 24: Query Paired Ble Devices

    LM3001 Bluetooth 5.0 Dual Mode Gateway PARAMETER DESCRIPTION: addr: MAC address of remote BT device role: 0 the gateway works as slave device 1 the gateway works as master device profile: 1 SPP 2 HID sockettype: 0 TCP Client 1 TCP Server...
  • Page 25: Scan Surrounding Ble Device

    LM3001 Bluetooth 5.0 Dual Mode Gateway 3.2.37 SCAN SURROUNDING BLE DEVICE Command Reply AT+BLEINQ=<operation>,<filter>,<time>\r\n \r\nOK\r\n COMMAND DESCRIPTION: This command is used to start or stop scanning for surrounding BLE devices. PARAMETER DESCRIPTION: operation: 0 Stop scanning 1 Start scanning filter: 0 During the scanning process, it will return one record when searched one broadcasting data, no matter it is the same broadcast data sent by the same device.
  • Page 26: Query Paired Ble Devices

    LM3001 Bluetooth 5.0 Dual Mode Gateway 3.2.38 QUERY PAIRED BLE DEVICES Command Reply AT+BLECONN=<addr>,<addrtype>\r\n \r\nOK\r\n PARAMETER DESCRIPTION: addr: MAC address of the BLE device to be connected addrtype: address type of BLE device 0 PUBLIC 1 RANDOM Connection Result \r\n+BLECONN:<addr>,<state>\r\n...
  • Page 27: 1 Read The Characteristic Value Of Ble Device

    LM3001 Bluetooth 5.0 Dual Mode Gateway COMMAND DESCRIPTION: Note: After the BLE remote device is successfully connected, the gateway automatically returns the characteristic value of the BLE device. Users can also query this information using this command. 3.2. 4 1 READ THE CHARACTERISTIC VALUE OF BLE DEVICE...
  • Page 28: 4 Query The Signal Strength Of The Connected Ble Device

    TCP Socket connection with the server. 3.2. 4 7 RESTORE FACTORY DEFAULT SETTINGS Command Reply AT+RESTORESET\r\n \r\nOK\r\n COMMAND DESCRIPTION: This command is used to restore the LM3001 to factory settings. 3.2. 4 8 QUERY MAC ADDRESS OF LOCAL BLUETOOTH MODULE Command Reply AT+GETLOCALBT\r\n \r\n+GETLOCALBT:<hcix>,<addr>\r\n \r\nOK\r\n...
  • Page 29: Glossary

    LM3001 Bluetooth 5.0 Dual Mode Gateway PARAMETER DESCRIPTION: no: index number hcix: serial number of local BT module embedded in the gateway, range:0 - 3 addr: MAC address of connected BT device name: device name of connected BT device lq: link quality rssi: signal strength port: socket port number corresponding to the current link.

Table of Contents