-
Notifications
You must be signed in to change notification settings - Fork 74
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
AT example (iBeacon mode) is not wokring when only power is given to TB-02 module #7
Comments
Yeath,It is a Bug,Check this file: Telink_825X_SDK/example/at/app_uart.c 95 line |
@ospanic I have one more question. I flash the iBeacon example code to TB-02 but module is only broadcasting the Bluetooth ID. The module is not broadcasting data in iBeacon protocol. The UIID, Major & Minor is not showing. Can you explain what data packet format this module is broadcasting. Which code is more battery efficient (AT example in Mode 2 or iBeacon example) if I only wanted to use this module as a Beacon? |
If you just want TB02 work as a Beacon, you can see Telink_825X_SDK/study/01_Advertise/app.c and modify the u8 tbl_advData[] = { 0x05, 0x09, 'A', 'B', 'C', 'D'}; //要广播的数据 attribute_data_retention u8 ibeacon_adv_data[30] = |
I have done as you suggested and module is started working as ibeacon but the power consumption is very high. Can you help me in the setting/configuration of 01_Advertise example so that I will get maximum battery backup. I don't want good signal strength from TB-02. The 2 meter of signal coverage is more than enough in my case. |
Maybe the answer you want is here : Telink_825X_SDK/blob/master/example/iBeacon/app.c |
I have flash the TB-02 module with at example and set this module to MODE 2. It started working a iBeacon when I connect the 3.3V, GND, RX and TX by TTL to USB converter.
The module is not working in iBeacon mode if I connect this module with a 3.3V battery (only 3.3v and GND is connected).
The text was updated successfully, but these errors were encountered: