Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firmware V4.2.0,Bluetooth V4.0 LE from www.cyobd.com #3

Open
zdila opened this issue Jun 6, 2018 · 3 comments
Open

Firmware V4.2.0,Bluetooth V4.0 LE from www.cyobd.com #3

zdila opened this issue Jun 6, 2018 · 3 comments

Comments

@zdila
Copy link

zdila commented Jun 6, 2018

Just for the info - may be helpful:

I've bought https://www.ebay.com/itm/HM-10-CC2541-CC2540-4-0Bluetooth-UART-Transceiver-Transparent-Serial-Port-NEW/381374587590?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

AT+HELP
********************************************************************
* Command             Description			           *
* ---------------------------------------------------------------- *
* AT                  Check if the command terminal work normally  *
* AT+RESET            Software reboot				   *
* AT+VERSION          Get firmware, bluetooth, HCI and LMP version *
* AT+HELP             List all the commands		           *
* AT+NAME             Get/Set local device name                    *
* AT+PIN              Get/Set pin code for pairing                 *
* AT+PASS             Get/Set pin code for pairing                 *
* AT+BAUD             Get/Set baud rate		                   *
* AT+LADDR            Get local bluetooth address		   *
* AT+ADDR             Get local bluetooth address		   *
* AT+DEFAULT          Restore factory default			   *
* AT+RENEW            Restore factory default			   *
* AT+STATE            Get current state				   *
* AT+PWRM             Get/Set power on mode(low power) 		   *
* AT+POWE             Get/Set RF transmit power 		   *
* AT+SLEEP            Sleep mode 		                   *
* AT+ROLE             Get/Set current role.	                   *
* AT+PARI             Get/Set UART parity bit.                     *
* AT+STOP             Get/Set UART stop bit.                       *
* AT+START            System start working.			   *
* AT+IMME             System wait for command when power on.	   *
* AT+IBEA             Switch iBeacon mode.	                   *
* AT+IBE0             Set iBeacon UUID 0.            	           *
* AT+IBE1             Set iBeacon UUID 1.            	           *
* AT+IBE2             Set iBeacon UUID 2.            	           *
* AT+IBE3             Set iBeacon UUID 3.            	           *
* AT+MARJ             Set iBeacon MARJ .            	           *
* AT+MINO             Set iBeacon MINO .            	           *
* AT+MEA              Set iBeacon MEA .            	           *
* AT+NOTI             Notify connection event .                    *
* AT+UUID             Get/Set system SERVER_UUID .            	   *
* AT+CHAR             Get/Set system CHAR_UUID .            	   *
* -----------------------------------------------------------------*
* Note: (M) = The command support slave mode only. 		   *
* For more information, please visit http://www.cyobd.com          *
* Copyright@2013 www.cyobd.com.   All rights reserved.		   *
********************************************************************

AT+VERSION
+VERSION=Firmware V4.2.0,Bluetooth V4.0 LE

AT+NAME
+NAME=BT05

Module requires CR+LF and AT can be lowercase. Default baudrate is 9600.

Module looks like http://www.cyobd.com/product/showproduct.php?lang=cn&id=62 but without that big upper right component. It is without breaking board.

@ayavilevich
Copy link
Owner

@zdila thanks for the data.
Can you include the output of arduino-ble-ident-n-set run for this module?

@zdila
Copy link
Author

zdila commented Jun 7, 2018

Sure:

Arduino BLE module identification and setup sketch.
Interact with this interface using serial in CR&LF mode.
Opening serial connection to BLE module at pins: 8, 9, -1
For this sketch, make sure the module is not connected to another BLE device.
This will make sure the device is in command mode.
A led on the module should be off or blinking.
Detecting module type
CC41 detected!
Sending command: AT+HELP
********************************************************************
* Command             Description			           *
* ---------------------------------------------------------------- *
* AT                  Check if the command terminal work normally  *
* AT+RESET            Software reboot				   *
* AT+VERSION          Get firmware, bluetooth, HCI and LMP version *
* AT+HELP             List all the commands		           *
* AT+NAME             Get/Set local device name                    *
* AT+PIN              Get/Set pin code for pairing                 *
* AT+PASS             Get/Set pin code for pairing                 *
* AT+BAUD             Get/Set baud rate		                   *
* AT+LADDR            Get local bluetooth address		   *
* AT+ADDR             Get local bluetooth address		   *
* AT+DEFAULT          Restore factory default			   *
* AT+RENEW            Restore factory default			   *
* AT+STATE            Get current state				   *
* AT+PWRM             Get/Set power on mode(low power) 		   *
* AT+POWE             Get/Set RF transmit power 		   *
* AT+SLEEP            Sleep mode 		                   *
* AT+ROLE             Get/Set current role.	                   *
* AT+PARI             Get/Set UART parity bit.                     *
* AT+STOP             Get/Set UART stop bit.                       *
* AT+START            System start working.			   *
* AT+IMME             System wait for command when power on.	   *
* AT+IBEA             Switch iBeacon mode.	                   *
* AT+IBE0             Set iBeacon UUID 0.            	           *
* AT+IBE1             Set iBeacon UUID 1.            	           *
* AT+IBE2             Set iBeacon UUID 2.            	           *
* AT+IBE3             Set iBeacon UUID 3.            	           *
* AT+MARJ             Set iBeacon MARJ .            	           *
* AT+MINO             Set iBeacon MINO .            	           *
* AT+MEA              Set iBeacon MEA .            	           *
* AT+NOTI             Notify connection event .                    *
* AT+UUID             Get/Set system SERVER_UUID .            	   *
* AT+CHAR             Get/Set system CHAR_UUID .            	   *
* -----------------------------------------------------------------*
* Note: (M) = The command support slave mode only. 		   *
* For more information, please visit http://www.cyobd.com          *
* Copyright@2013 www.cyobd.com.   All rights reserved.		   *
********************************************************************
Sending command: AT+VERSION
+VERSION=Firmware V4.2.0,Bluetooth V4.0 LE
Sending command: AT+NAME
+NAME=DOPEY
Sending command: AT+PASS
+PASS=1234
Sending command: AT+ADDR
+ADDR=00:15:84:32:4E:0D
Sending command: AT+ROLE
+ROLE=0
Sending command: AT+POWE (0 = -23dbm, 1 = -6dbm, 2 = 0dbm, 3 = 6dbm)
+POWE=2
Sending command: AT+TYPE (0 = No binding, 3 = Do binding (not documented))
+TYPE=0
0) Quit
1) Set module name
2) Set module password
4) Set module power
5) Set module binding type
6) Display main settings
7) Restore default settings
8) Reboot/reset/restart
9) Re-identify module
10) Detect connection state
Enter menu selection [0] :

@TyRoden
Copy link

TyRoden commented Oct 10, 2020

I have this same module as well. Any luck?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants