Tests were conducted using Firmware SPPC_0109. Further testing is planned including more parameters (as of September 2018).
- Module as Slave/Master, DCOV=ON = 26mA.
- Module as Slave/Master, DCOV=OFF=8mA.
- Module connected to remote device (Master/Slave) = Connected, no data transmission = 11mA.
- Module connected to remote device (Master/Slave) = Connected, data transmission Transmit/Receive = 16mA. This current may vary on the distance between two devices.
We observe a rise in the current while establishing SPP connection where current rises to 30 mA, after the connection is established the current is 11mA.
- Module SPP Role Master/Slave, DCOV=ON, ENBGAP=ON Current=26mA
- Module SPP Role Master/Slave, DCOV=OFF, ENBGAP=ON Current=8mA
- Module SPP Role Master/Slave, DCOV=OFF, ENBGAP=ON, LE connected, Current=9mA
The LM961 pairs with my Android phone in SPP mode but doesn’t connect?
The LM961/LM074/LM068 will only connect to SPP profile devices.
You will need to install a BT-serial terminal app on your mobile handset, then try connecting to the app.
I have installed a BT-serial terminal app but the LM961 still doesn’t connect?
After you install the BT Serial Terminal app on your phone, you will need to complete the pairing-procedure to the LM961 with your handset using “Settings>>Bluetooth” on your handset.
Then open the terminal app and the devices menu should list the paired devices, then you can initiate the connection from app.
Connection has been established but no response from AT Commands
Use the serial settings 19200-8-N-1 with Flow-Control-OFF. EOL as CrLf.
No response from AT Commands
Please ensure that your TX-RX lines are connected correctly.
At power-on OR after pressing RESET switch on LM551 board (Reset Module / S3), the LM961 sends a power on message on the Serial terminal “SPP+GapCentral_Message_Loop”/”Entering in MessageLoop” depending on the current firmware.
Make sure the EOL setting on Hercules is CrLf before issuing an AT command.
If you were not receiving Power On message before that should be the Tx-Rx connection error.
EOL setting is for issuing AT commands. Refer to the screenshots below for settings in Hercules.
The LM930/ LM931 Bluetooth Low Energy (BLE) module makes it incredibly easy and cost effective to design your wireless product. The LM930/ LM931 communicates with a phone, tablet or embedded system with the LM961 over a BLE connection. Bluetooth Low Energy (BLE) is a light-weight version of the Bluetooth Classic ideal for the developer to create small applications.
The lower level protocol firmware of the Bluetooth v4.1 stack is stored in the ROM. Your unique application firmware communicates with the stack with APIs. This application firmware is programmed and debugged within the CSR μEnergy SDK provided with the LM53X development kit. Your application is then flashed over SPI to the EEPROM. GAP is used to establish Bluetooth Low Energy connections, while GATT defines how the data is organised and sent bidirectional between the LM930/ LM931 and another BLE device.
Generic Access Profile (GAP)
The Generic Access Profile is part of the CSR Bluetooth v4.1 stack used for controlling the connection between your product with the LM930/ LM931 and another BLE device.
LM930/ LM931 GAP Roles
In a Bluetooth Low Energy point to point connection there are two roles:
- GAP Peripheral – The LM930/ LM931 is defined as a peripheral device as it has all the resources for a small application e.g. a monitor, meter and iBeacon.
- GAP Central – Typically phones, tablets and computers with a more powerfully processor and larger memory capacity.
Advertising and Scanning
LM930/ LM931 advertises (broadcasts) its presence to all the GAP Central devices within range. It advertises with 31 byte advertising payloads which can state a predefined device name. The GAP Central device sends scan response payloads the same as the advertising payload sent by the peripheral. The advertising payloads are sent in intervals within a window of time defined by the developer in the CSR μEnergy SDK. The shorter the interval and window set in milliseconds the more responsive the advertising will be. However, there is a trade-off between the responsiveness and the battery life when using a small battery to power your application. Once the LM930/ LM931 has made a connection with a GAP Central device it will stop advertising it’s presence to other central devices. It will only transmit advertising payloads again when the connection has dropped. The BLE connection between the LM930/ LM931 and the central device allows GATT services to transfer data in both directions.
Wireless Personal Area Network (WPAN)
In a Bluetooth Low Energy network the GAP Central device can connect to up to 7 GAP Peripheral devices. Data can be sent over these 7 connection simultaneously, only restricted by the processing power and memory size of the GAP central device.
The LM930/ LM931 forms a connections with one GAP Central device at a time and can communicate with another peripheral device through the connected central device.
The LM930/ LM931 GAP Peripheral module is able to send data to more than one device as a broadcast. The data is sent one way to any GAP Central device in range as a 31 byte advertising packet. Our iBeacon firmware is available on the LM930/ LM931 for sending the broadcast messages.
Generic Attribute Profile (GATT)
The CSR μEnergy SDK is used to develop GATT Services. GATT Service firmware operates on the LM930/ LM931 once GAP has established the connection. Within the firmware you can define the way the LM930/ LM931 transfer data to the connected GAP Central device and vice versa. The data is transferred in a client/ server architecture, where the LM930/ LM931 is the server and the connected GAP central device is the client. The LM930/ LM931 is responsible for responding to all the requests of the client.
In development one or more services are implemented within your application to execute the required behaviour. For example the key fob demo application consists of a Battery Service, Device Information service and a customised Automation IO service for the switches and RGB LED functionality. With the LM930/ LM931 you can use and modify existing services and create new ones. All services are stored in the Attribute (ATT) protocol lookup table using a UUID. The service contain characteristics used to define the procedures and formats of the services.
LM Technologies is a key enabler of both the Internet of Things (IoT) and cable-free integrator that designs, develops and manufactures innovative wireless products using world-leading technologies and standards, including Bluetooth® and WiFi™.
LM endeavours to offer free Firmware, Hardware and Application software development to our customers, although it may be dependant on a Minimum Order Quantity.
For information, please contact us.
If you have a support enquiry please submit a support ticket.