JINOU BLE5.0 Series User manual

BLE5.0 Serial Adapter
User Manual
Chongqing Jinou Science & Technology Development Co., Ltd.
V1.0_20190505

1
Content
I.
Overview 1
II.
Parameters...........................................................................................................................1
III.
Description of Indicator Light and button ...........................................................................2
RS232 port:.....................................................................................................................................3
Power Interface:..............................................................................................................................3
Indicator:.........................................................................................................................................3
IV.
Operation Instruction ..............................................................................................................................5
V.
Description of the authentication mode ..............................................................................5
VI.
Parameter configuration......................................................................................................6
1. Testing Command ...................................................................................................................................7
2. Parameter Setting Mode Indicate............................................................................................................7
3. Inquire/Set Device Name........................................................................................................................7
4. Inquire Local Bluetooth Address ............................................................................................................7
5. Inquire/Set Remote BluetoothAddress...................................................................................................7
6. Clear Remote BluetoothAddress............................................................................................................8
7. Inquire Software Version.........................................................................................................................8
8. Inquire/Set Device Role..........................................................................................................................8
9. Set/Inquire Baud Rate.............................................................................................................................8
10. Set/Inquire Flow Control Mode..............................................................................................................9
11. Set/Inquire Authentication Mode............................................................................................................9
12. Set/Inquire Password...............................................................................................................................9
13. Scan Around BLEDevice.......................................................................................................................9
14. Stop Scanning........................................................................................................................................10
15. Inquire/Set Parameters of Connection-control......................................................................................10
16. Set/Inquire Scan Parameter....................................................................................................................12
17. Set/Inquire Broadcasting Interval .........................................................................................................12
18. Set/Inquire Transmit Power..................................................................................................................12
19. Set/Inquire BLE Data Communication Service UUID .........................................................................13
20. Set/Inquire BLE Data Communication Characteristic TXDUUID ......................................................13
Default value: 0000 b351d6d8c7ecbdf0eab1bfc6bcbc...............................................................................13
This channel is used by the adapter to send data to the opposing BLE Bluetooth device. .........................13
21. Set/Inquire BLE Data Communication Characteristic RXDUUID......................................................13
Default value: 0000 b352d6d8c7ecbdf0eab1bfc6bcbc...............................................................................13
This channel is used by the adapter to receive data from the other BLE Bluetooth device........................13
22. Reset to Factory Default .......................................................................................................................13
23. Restart the adapter.................................................................................................................................13
VII.
OTA instructions...............................................................................................................14
VIII.
Application examples........................................................................................................14

2
IX.
Common Questions...........................................................................................................19
1. How to send AT command?..................................................................................................................19
2. How to connect the target Bluetooth device when there are multiple Bluetooth devices around?.......20
3. 2pcs BLE adapters can not connect.......................................................................................................20
Web: www.oemblue.com............................................................................................................................22

1
I.
Overview
Jinou serial port adapter is an intelligent wireless data transmission product developed by our
company. It supports the latest Bluetooth 5.0 protocol specification, and the overall performance is
more optimized.
Determined by the nature of low power consumption, BLE is mainly applied in the transmission of
small amount of data, different from BR/EDR (traditional Bluetooth) characterized by voice
transmission, or Bluetooth 3.0 characterized by high-speed data transmission. In order to ensure its
low power consumption, BLE simplifies handshake protocol and reduces wake-up time, which is
quite suitable for transmission of short-time and small data.
In order to ensure low power consumption, low power consumption simplifies handshake protocol
and reduces wake - up time. In this type of data transmission, the power consumption of the low -
power Bluetooth is only one - tenth of that of the traditional Bluetooth, while in the long - time
and large - data transmission, the handshake protocol and the wake - up time account for a lower
proportion in the data amount of the entire task and the total duration, and the advantage of low
power consumption is greatly reduced.
JINOU serial adapter adopts the low - power Bluetooth scheme of TI company, and supports the
BLE mode. Can be used in applications sensitive to power consumption, such as consumer health
care, mobile accessories, sports, and health applications.
The device implements the function of data transmission through RS232 interface and remote low-
power Bluetooth, and the device contains two different working states of data mode and
configuration mode.
Communication mode: The device can be connected to the remote BLE or searched connected by
the remote BLE. After the connection is finished, it can transmit data with the remote BLE
bidirectional data.
Configuration mode: the user can configure parameters such as device name, baud rate, etc. In this
state, the device cannot be found connected.
II.
Parameters
Name BLE5.0 Serial Adapter
Specification BLE 5.0
Working band ISM Working band 2.402~2.480GHz
Antenna External antenna
Effective
distance 150m in open air

2
Implementation
protocol LL, SMP, L2CAP, ATT, GAP, GATT
Communication
interface Standard RS232 five wire mode
Connector DB9
Signal pin RxD, TxD, RTS, CTS, GND
Energy saving Auto Saving Mode to Support Low Power Mode
Maximum
transmission
rate note1
20Kbytes/Sec
Support Baud
Rate 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400bps
Power
consumption
Unconnected (slave device) 3.1mA
Unconnected (master device) 21mA
Connected (no data transmission) 3.6mA
Connected(data transmission)note2 9.8mA
Work
environment Operating temperature 0℃~+70℃
Storage temperature -10℃~+70℃
Humidity
5% ~ 90% no condensation
Size
99(L)×34(W)×17(H)mm
Note1: Here refer to that data - to - transmission rate between the two adapters, which relate to
connection parameters, such as different phone and adapter data, the rate may be different. If need
it up to maximum transmission rate, please set the baud rate to 230400.
Note1: The data transmission power consumption is the power consumption data continuously
transmitted at 9600 baud rate within the effective range of 10m.
III.
Description of Indicator Light and button
The BLE serial adapter has three LED lights to indicate the operating status of the device and a
mode switch button.

3
①RS232 interface
②Status i nd i cator (g reen)
③Operati on i nd i cator (red)
④M ode sw i tch button ( CM D button)
⑤Pow er i nd i cator (red)
⑥Power interface
RS232 port:
Pin No Signal
1 VCC
2 TXD
3 RXD
4 Nc
5 GND
6 Nc
7 CTS
8 RTS
9 VCC
The BLE serial adapter provides standard RS - 232 interface and support multiple serial port
modes.
The equipment RS - 232 DB9 pin is capable of power supply and can be used for user - developed
equipment. 1. pin 9 is VCC, pin 5 is GND, 6 ~ 9VDC, 100mA rated current.
Power Interface:
6 VDC, 200mA rated current; internal positive and external negative.
The positive and negative poles of the power supply cannot be reversed or the products
will be burnt out.
Indicator:
Name Description
Status Indicator
Configuration Mode Off
No connection Blink every 1 second
Connected Off
Operation Indicator
Configuration Mode Off
The Slave Device Blink once every 2 seconds
The Master Device Blink once every 5 seconds
In the parameter setting state, press the CMD button again, and the device exits the parameter

4
setting status and enters the network working state.
Indicator:
The adapter has three indicator lights, power indicator (red), main/slave mode indicator (red), and
connection indicator (green).
When the BLE adapter is powered on, the power indicator (red light) will always on.
If the master/slave mode indicator (red light) flashes every few seconds, the adapter is working
properly. The time interval between the flashing lights can be used to determine whether the
device is the master device or the slave device. If it flashes once every 2 seconds, it is the slave
device. If it flashes once every 5seconds, it is the main device.
If the connection indicator (green light) is off, it means that a connection has been established with
other Bluetooth devices. If it flashes once every 1 second, it means no connection has been
established.
When the BLE adapter is working in parameter setting mode, the master/slave mode indicator
light and connection status indicator light extinguished.
Mode switch button:
After power on, BLE adapter is in data mode, master/slave mode indicator light and connection
status indicator light flash, press the switch button of mode, the device enters the parameter setting
state, master/slave mode indicator light and connection status indicator light extinguished, and
output "+OPEN" from the serial port. In the parameter setting state, the serial port parameter
remains 9600bps, 8-n-1. The device stops the network part and turns off the wireless signal. At
this time, only the device parameters can be set.

5
IV.
Operation Instruction
The default setting of this device is 9600bps baud rate, 8-n-1 communication mode, no flow
control, slave device, and matching code is 000000.
If need to change parameters, user should press the mode switch button to enable the adapter to
enter the parameter setting state. The two previously blinking indicator lights are off and relevant
parameters are set through the "AT command", such as the parameters of master/slave device,
baud rate, remote address, etc.
If 2pcs adapters need to communicate, user must set one as master device and another as salve
device. User can tell roles from operation indicator light.
Note: the parameters are stored in FLASH, so the values of the parameters will remain the same
even after the power is cut, and will not be lost.
After parameter modification, short press the mode switch button again to enable the adapter to
enter data mode.
The adapter should be in data mode when powered on. For the master device, if the address has
been memorized, the master device is directly connected to the memory device, which can be
cleared by the "AT+CLEARADDR" instruction.
For slave devices, wait to be queried and connected by other devices.
If the two adapters are connected successfully, the connection status indicator (green light) is off
and the master/slave mode indicator (red light) remains flashing. At this point, the user device is
just like a serial port connection, sending and receiving data directly.
Once the device is connected, our serial port adapter will not be automatically disconnected unless
the signal is poor or the other party's Bluetooth is actively disconnected, and the connection will
remain.
Note: the following frequently asked questions section gives an important supplement to the use of
the equipment and solutions to the problems that customers usually encounter. Please read this
section carefully before using.
V.
Description of the authentication mode
The BLE serial port adapter only stores the matching information of one master device at most.
Therefore, when the authentication function is enabled and matched with the master device (such
as IOS, Android phone or tablet), the matching connection with the new master device will first
clear the previous host matching information. Therefore, a rematch is required when the previous
master device connects to the BLE serial adapter again.
However, when some master devices (such as IOS Ipad) are connected again, because the
matching information of the BLE serial port adapter is saved before, the master device does not re-
initiate the match after receiving the BLE serial port adapter re-matching request, which will result
in authentication failure and thus disconnection. In the case of disconnection, first delete the BLE
serial port adapter matching information in the Bluetooth option of the master device's system
settings, and reconnect it again.

6
VI.
Parameter configuration
In parameters setting mode, default parameter is 9600bps, 8-N–1, no CTS RTS flow control.
The following < CR >, < LF > in tables represent ASCII code of the "Enter" and “line feed”.
Every AT command send to the module needs to end up with the two codes. Otherwise the AT
commands can not be recognized. As for < >, it is use to convenient reading. In fact there is no < >
in command.

7
1. Testing Command
Command Answer Parameter
AT<CR><LF>
<CR><LF>OK<CR><LF>
None
2. Parameter Setting Mode Indicate
Command Answer Parameter
None
<CR><LF>+OPEN:<status><CR
><LF> Status: Remote address status
0: no remote address is
configured
1: Remote address configured
If the adapt is a master device
and configure a remote
address, once powered on,
the adapter will connect the
slave device of
the address.
3. Inquire/Set Device Name
Command Answer Parameter
AT+NAME=<name><CR><LF
>
<CR><LF>OK<CR><LF>
name: Device name
Default:
BLE0405C1P
AT+NAME?<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+NAME:<name><CR><LF
>
4. Inquire Local Bluetooth Address
Command Answer Parameter
AT+LADDR?<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+LADDR:<bdaddr><CR><L
F>
bdaddr: Device
address
5. Inquire/Set Remote BluetoothAddress
Command Answer Parameter

8
AT+RADDR?<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+RADDR:<bdaddr>,<addrty
pe><CR><LF>
bdaddr: Device
address
when work as master
device, if the address
is set, the adapter
actively connects the
slave device of the
Address
addrtype:
Device address
type
0 Public
1 Random static
2 Random private
resolvable
3 Random private non-
resolvable
AT+RADDR=<bdaddr>,<addrtyp
e><CR><LF>
<CR><LF>OK<CR><LF>
6. Clear Remote BluetoothAddress
Command Answer Parameter
AT+CLEARADDR<CR><LF>
<CR><LF>OK<CR><LF>
None
7. Inquire Software Version
Command Answer Parameter
AT+VERSION?<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+VERSION:<ver><CR><LF
>
ver: software version
8. Inquire/Set Device Role
Command Answer Parameter
AT+ROLE?<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+ROLE:<role><CR><LF> role: device type
0: Slave
1: Master
Default: 0
AT+ROLE=<role><CR><LF>
<CR><LF>OK<CR><LF>
9. Set/Inquire Baud Rate
Command Answer Parameter
AT+BAUD=<rate><CR><LF>
<CR><LF>OK<CR><LF>
rate: Baud rate(1200,
2400, 4800, 9600,
19200, 38400, 57600,
115200, 230400)
Default:9600
AT+BAUD?<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+BAUD:<rate><CR><LF>

9
10. Set/Inquire Flow Control Mode
Command Answer Parameter
AT+FLOWCONTROL=<enable><CR>
<LF>
<CR><LF>OK<CR><LF>
<enable>:
0:No flow control
1:Adopting hardware
flow control
Default: 0
AT+FLOWCONTROL?<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+FLOWCONTROL
:<enable><CR><LF>
For applications with large data volumes, it is strongly recommended to use hardware flow control,
otherwise data loss will occur.
11. Set/Inquire Authentication Mode
Command Answer Parameter
AT+AUTH=<enable><CR><
LF>
<CR><LF>OK<CR><LF>
<enable>:
0:No authentication
1: authentication
Default:0
AT+AUTH?<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+AUTH:<enable><CR><LF>
12. Set/Inquire Password
Command Answer Parameter
AT+PASSWORD=<password><CR><
LF>
<CR><LF>OK<CR><LF>
<password>:
range
000000~999999
Default: 000000
AT+PASSWORD?<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+PASSWORD:<passwo
rd><CR><LF>
13. Scan Around BLEDevice
Command Answer Parameter

10
AT+INQ=<filter>,<time>
<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>
+INQRESULT:<addr>,<ad
drtype>,<name>,<bctype>,<bc
data>,<rssi>
<CR><LF>
filter:
1 in current scan process,
only feedback 1 time the
same broadcasting of one
device.
0 in current scan process,
feedback all broadcasting it
scanned.
time: lasting time of current
scan process, unit: Second.
If set value to 0, it means
scan time duration is
unlimited.
addr: mac address
addrtype: Address type
0 Public
1 Random static
2 Random private
resolvable
3 Random private non-
resolvable
name:Device name,
possibly empty
bctype:Broadcast type.
Please refer to section
7.7.65.2 of Bluetooth
technical regulation
core_4.4.2 [Vol 2] PartE
for the meaning of specific
broadcast type.
0 ADV_IND
1ADV_DIRECT_IND
2 ADV_SCAN_IND
3ADV_NONCONN_IND
4 SACN_RSP
bcdata: Broadcast data.
Please refer to section 11
of [Vol 3] in the bluetooth
technical specification
core_4.4.2 for the format
of specific broadcast data.
rssi: Signal strength
<CR><LF>INQCOMP<CR><LF>
End of scan
14. Stop Scanning
Command Answer Parameter
AT+CANCEL<CR><LF> <CR><LF>OK<CR><LF> None
15. Inquire/Set Parameters of Connection-control

11
Command Answer Parameter
AT+BLECONNPARAM=<max>,
<min>,<latency>,<timeout><CR>
<LF>
<CR><LF>OK<CR><LF>
Min: minimum
connection interval
(6-3200, 1.25ms)
Max: Maximum
connection interval
(6 - 3200 , unit 1.
25mS) Latency :
slave device delay (0
- 499)
Timeout : Connection
time
- timeout (10 - 3200,
unit 10mS)
Default: 6, 16, 0, 400
AT+BLECONNPARAM?<CR><L
F>
<CR><LF>OK<CR><LF>
<CR><LF>+BLECONNPARAM:
<min>,<max>,<latency>,<timeout>
<CR><LF>
The parameters of Max, min and lcy will affect the power consumption in the equipment
connection state and transmit the delay of receiving data.
In addition, Max shall not be less than min, timeout must be greater than the effective connection
interval, that is, connection gap * (1+latency); If the device is a slave device and enable is set,
whether the parameters can be updated successfully depends on the master device. For example,
for IOS devices, apple has some parameter range limits. If the limit is exceeded, the update will be
rejected by IOS devices. Please refer to the apple document for details.

12
16. Set/Inquire Scan Parameter
Command Answer Parameter
AT+SCANTIME=<window>,<inter
val><CR><LF>
<CR><LF>OK<CR><LF>
< window>:
Turn - on time of
scan
<interval >:
Scanning interval
time
Unit: 0. 625 ms,
Default: 80,160
AT+ SCANTIME?<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+SCANTIME:<window>,<int
erval><CR><LF>
This parameter affects the power and scan sensitivity of the master, which is invalid for
slave devices
17. Set/Inquire Broadcasting Interval
Command Answer Parameter
AT+ADVINT=<interval_time><CR
><LF>
<CR><LF>OK<CR><LF>
<interval_time>: Slave
device broadcasting
interval
Range of value:
160 - 4800
Unit: 0. 625 ms,
Default: 1600
AT+ADVINT?<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+ADVINT:<interval_ti
me><CR><LF>
This parameter affects the power consumption of the slave device and is invalid for the
master device. If this parameter is set large, the slave device will not be able to be found
and connected. Please note.
18. Set/Inquire Transmit Power
Command Answer Parameter
AT+TXPOWER=<power>
<CR><LF>
<CR><LF>OK<CR><LF>
<power>:
Default:8
Range of value: 0~8
0:-40dBm
1:-20 dBm
2:-16 dBm
3:-12 dBm
4:-8 dBm
5:-4 dBm
6:0 dBm
7:3 dBm
8
:4 dBm
AT+TXPOWER?<CR><LF>
<CR><LF>OK<CR><LF>
<CR><LF>+TXPOWER:<power>
<CR><LF>

13
19. Set/Inquire BLE Data Communication Service UUID
Command Answer Parameter
AT+BLESPPSERVICE=<uuid>
<CR><LF> <CR><LF>OK<CR><LF> <uuid>:support
128bit or 16bit UUID
AT+BLESPPSERVICE?
<CR><LF>
<CR><LF>+BLESPPSERVICE:<uuid
><CR><LF>
<CR><LF> OK<CR><LF>
20. Set/Inquire BLE Data Communication Characteristic TXDUUID
Command Answer Parameter
AT+BLECHARACTERTXD=<
uuid
><CR><LF><CR><LF>OK<CR><LF><uuid>:support
128bit or 16bit UUID
AT+BLECHARACTERTXD?
<CR><LF>
<CR><LF>+BLECHARACTERTXD:
<uuid>
<CR><LF>
<CR><LF> OK<CR><LF>
Default value: 0000 b351d6d8c7ecbdf0eab1bfc6bcbc
This channel is used by the adapter to send data to the opposing BLE Bluetooth device.
21. Set/Inquire BLE Data Communication Characteristic RXDUUID
Command Answer Parameter
AT+BLECHARACTERRXD=<u
uid
><CR><LF>
<CR><LF>OK<CR><LF> <uuid>:support
128bit or 16bit UUID
AT+BLECHARACTERRXD?
<CR><LF>
<CR><LF>+BLECHARACTERRXD:<
uuid
><CR><LF>
<CR><LF>OK<CR><LF>
Default value: 0000 b352d6d8c7ecbdf0eab1bfc6bcbc
This channel is used by the adapter to receive data from the other BLE Bluetooth device.
22. Reset to Factory Default
Command Answer Parameter
AT+RESET<CR><LF>
<CR><LF>OK<CR><LF>
None
23. Restart the adapter
Command
Answer
Parameter
AT+RESTART<CR><LF>
<CR><LF>OK<CR><LF>
None

14
VII.
OTA instructions
The module supports the air upgrade function, and you can use the APP nRF Connect provided by
the Nordic company to complete the firmware upgrade.
VIII.
Application examples
We used nRF Connect, an APP provided by the Nordic company, to test the sending and
receiving of data between mobile phones and BLE serial port adapters.
1. The BLE serial port adapter keeps the factory default parameters and connects to PC through the serial
port. Power on and enable it in the data communication mode.
2. Open the "nRF Connect" software and the phone will search the BLE Bluetooth devices nearby. The
device name "BLE0405C1P" will be shown, which is the default name of the BLE serial port adapter.

15
3. Click "CONNECT", and the interface will display the list of services included in the adapter
after successful connection, and the connection status indicator will be extinguished.

16
Table of contents