Difference between revisions of "BT4C"

From ElectroDragon
Jump to navigation Jump to search
(Created page with "== Specifications == Voltage range 2.0V-3.6V DC Frequency range 2402MHz to 2480MHz programmable configuration Frequency error +/- 20ppm Modulation method GFSK Data transmissi...")
 
Line 1: Line 1:
 
== Specifications ==
 
== Specifications ==
  
Voltage range 2.0V-3.6V DC
+
* Voltage range 2.0V-3.6V DC
Frequency range 2402MHz to 2480MHz programmable configuration
+
* Frequency range 2402MHz to 2480MHz programmable configuration
Frequency error +/- 20ppm
+
* Frequency error +/- 20ppm
Modulation method GFSK
+
* Modulation method GFSK
Data transmission rate: 1Mbps
+
* Data transmission rate: 1Mbps
Transmission distance: 100m
+
* Transmission distance: 100m
Output power 7.9dBm Max programmable configuration
+
* Output power 7.9dBm Max programmable configuration
Receive sensitivity -94dBm
+
* Receive sensitivity -94dBm
Sleep current 8uA
+
* Sleep current 8uA
Receive current 12mA
+
* Receive current 12mA
Emission current 20mA 7.9dBm
+
* Emission current 20mA 7.9dBm
Working temperature -30 ℃-85 ℃
+
* Working temperature -30 ℃-85 ℃
Size 18.8mm x 15.1mm
+
* Size 18.8mm x 15.1mm
Antenna impedance 50ohm
+
* Antenna impedance 50ohm
Antenna interface PCB PCB onboard antenna
+
* Antenna interface PCB PCB onboard antenna
  
 
== Bluetooth End ==
 
== Bluetooth End ==
Line 22: Line 22:
  
 
=== Config UUID:0xFF20 ===
 
=== Config UUID:0xFF20 ===
1), configure the connection interval channel (service UUID: 0xFF21)
+
==== configure the connection interval channel (service UUID: 0xFF21) ====
Executable: write
+
* Executable: write
Configuration operation: Supports connection interval configuration of integer multiples of 10ms.
+
* Configuration operation: Supports connection interval configuration of integer multiples of 10ms.
Directly write the corresponding data to configure. If the configuration is successful, the status response channel returns OK, otherwise it returns ERROR.
+
* Directly write the corresponding data to configure. If the configuration is successful, the status response channel returns OK, otherwise it returns ERROR.
Query operation:
+
* Query operation:
Send '=' to query the current configuration. The result is returned by the status reply channel.
+
* Send '=' to query the current configuration. The result is returned by the status reply channel.
Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.
+
* Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.
2) Rename module name channel (service UUID: 0xFF22)
+
==== Rename module name channel (service UUID: 0xFF22) ====
Executable: write
+
* Executable: write
Configuration operation: Support module name modification up to 18 characters. The restart takes effect.
+
* Configuration operation: Support module name modification up to 18 characters. The restart takes effect.
3), configure the serial baud rate channel (service UUID: 0xFF23)
+
==== configure the serial baud rate channel (service UUID: 0xFF23) ====
Executable: write
+
* Executable: write
Configuration operation: Support the following serial port speed configuration: 9600, 19200, 38400, 57600, 115200
+
* Configuration operation: Support the following serial port speed configuration: 9600, 19200, 38400, 57600, 115200
Query operation:
+
* Query operation:
Send '=' to query the current configuration. The result is returned by the status reply channel.
+
* Send '=' to query the current configuration. The result is returned by the status reply channel.
Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.
+
* Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.
4) Configure the transmit power channel (service UUID: 0xFF24)
+
==== Configure the transmit power channel (service UUID: 0xFF24) ====
The transmission power is divided into ten levels, which are 0 level-19.5dbm, level 1-16dbm, level 2-13.3dbm, level 3-9.6dbm, level 4-5dbm,
+
* The transmission power is divided into ten levels, which are 0 level-19.5dbm, level 1-16dbm, level 2-13.3dbm, level 3-9.6dbm, level 4-5dbm,
Level 5-3.1dbm, Level 6 0dbm, Level 7 3.3dbm, Level 8 6.3dbm, Level 9 7.9dbm. The transmit power defaults to 9 levels of 7.9dbm.
+
* Level 5-3.1dbm, Level 6 0dbm, Level 7 3.3dbm, Level 8 6.3dbm, Level 9 7.9dbm. The transmit power defaults to 9 levels of 7.9dbm.
Executable: write
+
* Executable: write
Configuration operation: Support the following power level configuration: 0 ~ 9.
+
* Configuration operation: Support the following power level configuration: 0 ~ 9.
Query operation:
+
* Query operation:
Send '=' to query the current configuration. The result is returned by the status reply channel.
+
* Send '=' to query the current configuration. The result is returned by the status reply channel.
Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.
+
* Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.
5), low power mode enable channel (service UUID: 0xFF25)
+
==== low power mode enable channel (service UUID: 0xFF25) ====
Executable: write
+
* Executable: write
Configuration operation: Support normal and low power modes Operation: 0 is normal mode, 1 is low power mode.
+
* Configuration operation: Support normal and low power modes Operation: 0 is normal mode, 1 is low power mode.
Query operation:
+
* Query operation:
Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.
+
* Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.
6), configure the broadcast interval channel (service UUID: 0xFF26)
+
==== configure the broadcast interval channel (service UUID: 0xFF26) ====
Executable: write
+
* Executable: write
Configuration operation: Supports all connection interval configurations with integer multiples of 10ms.
+
* Configuration operation: Supports all connection interval configurations with integer multiples of 10ms.
Directly write the corresponding data to configure. If the configuration is successful, the status response channel returns OK, otherwise it returns ERROR.
+
* Directly write the corresponding data to configure. If the configuration is successful, the status response channel returns OK, otherwise it returns ERROR.
Query operation:
+
* Query operation:
Send '=' to query the current configuration. The result is returned by the status reply channel.
+
* Send '=' to query the current configuration. The result is returned by the status reply channel.
Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.
+
* Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.
7), status reply service channel (service UUID: 0xFF2F)
+
* ==== status reply service channel (service UUID: 0xFF2F) ====
 
What you can do: notifications
 
What you can do: notifications
 
Function: Returns the configured operating status. The query operation returns the query results. The configuration operation returns the operation result. OK indicates that the operation was successful, and ERROR indicates that the operation failed or the configuration value is not supported.
 
Function: Returns the configured operating status. The query operation returns the query results. The configuration operation returns the operation result. OK indicates that the operation was successful, and ERROR indicates that the operation failed or the configuration value is not supported.

Revision as of 06:03, 8 January 2020

Specifications

  • Voltage range 2.0V-3.6V DC
  • Frequency range 2402MHz to 2480MHz programmable configuration
  • Frequency error +/- 20ppm
  • Modulation method GFSK
  • Data transmission rate: 1Mbps
  • Transmission distance: 100m
  • Output power 7.9dBm Max programmable configuration
  • Receive sensitivity -94dBm
  • Sleep current 8uA
  • Receive current 12mA
  • Emission current 20mA 7.9dBm
  • Working temperature -30 ℃-85 ℃
  • Size 18.8mm x 15.1mm
  • Antenna impedance 50ohm
  • Antenna interface PCB PCB onboard antenna

Bluetooth End

  • BT Service - UUID:0xFF11
  • Serial - UUID:0xFF12

Config UUID:0xFF20

configure the connection interval channel (service UUID: 0xFF21)

  • Executable: write
  • Configuration operation: Supports connection interval configuration of integer multiples of 10ms.
  • Directly write the corresponding data to configure. If the configuration is successful, the status response channel returns OK, otherwise it returns ERROR.
  • Query operation:
  • Send '=' to query the current configuration. The result is returned by the status reply channel.
  • Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.

Rename module name channel (service UUID: 0xFF22)

  • Executable: write
  • Configuration operation: Support module name modification up to 18 characters. The restart takes effect.

configure the serial baud rate channel (service UUID: 0xFF23)

  • Executable: write
  • Configuration operation: Support the following serial port speed configuration: 9600, 19200, 38400, 57600, 115200
  • Query operation:
  • Send '=' to query the current configuration. The result is returned by the status reply channel.
  • Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.

Configure the transmit power channel (service UUID: 0xFF24)

  • The transmission power is divided into ten levels, which are 0 level-19.5dbm, level 1-16dbm, level 2-13.3dbm, level 3-9.6dbm, level 4-5dbm,
  • Level 5-3.1dbm, Level 6 0dbm, Level 7 3.3dbm, Level 8 6.3dbm, Level 9 7.9dbm. The transmit power defaults to 9 levels of 7.9dbm.
  • Executable: write
  • Configuration operation: Support the following power level configuration: 0 ~ 9.
  • Query operation:
  • Send '=' to query the current configuration. The result is returned by the status reply channel.
  • Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.

low power mode enable channel (service UUID: 0xFF25)

  • Executable: write
  • Configuration operation: Support normal and low power modes Operation: 0 is normal mode, 1 is low power mode.
  • Query operation:
  • Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.

configure the broadcast interval channel (service UUID: 0xFF26)

  • Executable: write
  • Configuration operation: Supports all connection interval configurations with integer multiples of 10ms.
  • Directly write the corresponding data to configure. If the configuration is successful, the status response channel returns OK, otherwise it returns ERROR.
  • Query operation:
  • Send '=' to query the current configuration. The result is returned by the status reply channel.
  • Send '?' To query the currently supported configuration values. The result is returned by the status reply channel.
  • ==== status reply service channel (service UUID: 0xFF2F) ====

What you can do: notifications Function: Returns the configured operating status. The query operation returns the query results. The configuration operation returns the operation result. OK indicates that the operation was successful, and ERROR indicates that the operation failed or the configuration value is not supported.

GPIO Control UUID:0xFF50

1), GPIO0 output control channel (service UUID: 0xFF51) Executable: write Configuration operation: write 0 or 1 Function: GPIO port output 0 or 1 2), GPIO0 mode control channel (service UUID: 0xFF52) Executable: write Configuration operation: write 0 or 1 Function: Control GPIO output or input mode, 0 is input mode, 1 is output mode 3), GPIO0 status channel (service UUID: 0xFF53) Executable operation: read Function: read the status of GPIO0, 0 is low level, 1 is high level 4), GPIO1 output control channel (service UUID: 0xFF54) Executable: write Configuration operation: write 0 or 1 Function: GPIO1 output 0 or 1 5), GPIO1 mode control channel (service UUID: 0xFF55) Executable: write Configuration operation: write 0 or 1 Function: Control GPIO1 output or input mode, 0 is input mode, 1 is output mode 6) GPIO1 status channel (service UUID: 0xFF56) Executable operation: read Function: read the status of GPIO1, 0 is low level, 1 is high level 8), data storage channel (service UUID: 0xFF58) Executable operations: read, write Configuration operation: Any data can be written, and previously written data can be read Function: data storage, module power-down data retention, length 18 bytes 9) GPIO status reply service channel (service UUID: 0xFF5F) What you can do: notifications Function: return GPIO port status

Device Info UUID:0x180A

1) Module MAC address (service UUID: 0x2A23) Executable operation: read Number of bytes: 8 Default: 0000xxxxxxxxxxxx (hex) Description: Module physical address 2), module model (service UUID: 0x2A24) Executable operation: read Number of bytes: 15 Default: GCBT40 Description: Module model 3) Software version (Service UUID: 0x2A28) Executable operation: read Number of bytes: 4 Default: None Note: Software version 4) Manufacturer (Service UUID: 0x2A29) Executable operation: read Number of bytes: 10 Default: BLE Module