- Silicon Labs Community
- Welcome and Announcements
- Silicon Labs Knowledge Base
- 8-bit MCU
- 32-bit MCU
- Bluetooth / Wi-Fi
- Other Products Category
- Optical/RH/Temp Sensor
- Other Products
- Hardware and Software Tools
- Simplicity Studio and Software
- General Discussions and Suggestions
- Chinese Forum
- Software Libraries
- Development Kits
- Reference Designs
- Third Party Tools
- White Papers
- Official Blog of Silicon Labs
- Chinese Blog
03-18-2017 03:07 AM
The Blue Gecko application for Android has been updated and contains the following features:
- Over-the-Air firmware update for Blue Geckos
- Attribute Protocol MTU change feature added
- Connection interval change feature added
- Refresh GATT services feature added
- Bug fixes and improvements
The application is available in the Google Play store and the source code in the documentation
and software download pages.
Let us know your feedback and any features you would like to see in the application.
The iOS version is also being updated and available soon.
03-28-2017 03:20 AM
I downloaded the file from menu
"Blue Gecko Software Downloads" -> "Silicon Labs' Android Application for Blue Gecko"
but it is old version 1.2 from Apr-2016
Is the link correct?
04-19-2017 02:22 AM
The source code for 1.3 doesn't seem to be available.
We're working on it. There's some issues related to the source code distribution (not the source itself) that need to be sorted out first.
04-25-2017 03:19 AM
I tried to use the OTA from the Blue Gecko Android App to update the Blue Gecko BGM121 with no luck.
In the Bluetooth Browser, I picked the "Thermometer Example" device.
On the menu, I picked OTA --> partial OTA
I set the folder and the App fields with the relevant info.
I kept all other fields in their default values and pressed the OTA
bg_err_unspecific alarm and got disconnected...
Any idea what is the issue here?
Did anyone here manage to perform OTA with the Android App?
04-25-2017 08:20 AM
I just tested partial OTA with the "SoC Smartphone" example from SDK 2.3.1 and it worked without any issues. I used BGM121 in my test.
When performing partial OTA, it is important to make sure that the new application image (app.ebl) is built with the same SDK version that the firmware that is currently installed on the target.
04-25-2017 01:13 PM
I've found the OTA transfer to work flawlessly as well. However I'm trying to piece together the extent of the security available.
I see the options for ensuring a bonded and encrypted connection for the transfer but are there any options for the OTA to ensure that only signed and valid firmware is transferred and/or executed when not using Zigbee that Im missing?
04-26-2017 12:23 AM
Signing of update images and other advanced features are available when using Gecko bootloader. Gecko bootloader is common bootloader used by all of our wireless stacks, it was released quite recently (same time as the 2.3.1 BLE SDK).
Have a look at following appnote for more info:
04-26-2017 02:35 AM
There is one minor change needed in the BGScript examples (SDK 2.3.1) to make the OTA work smoothly with the Blue Gecko app:
# This event indicates that a remote client is attempting to write a value of # an attribute in the local GATT database, where the attribute was defined # in the gatt.xml file to have type = "user". event gatt_server_user_write_request(connection, characteristic, att_opcode, offset, value_len, value_data) # Check if the user-type OTA Control Characteristic was written. if characteristic = ota_control then call gatt_server_send_user_write_response(connection,characteristic,0) #added boot_into_dfu = 1 call endpoint_close(connection) # After the connection is closed, the "le_connection_closed" event is raised # which then boots the device into DFU mode. end if end
The code snippet above is from thermometer script example. I have added a call to gatt_server_send_user_write_response so that the write request is acknowledged before closing connection. Only one line added to the code, otherwise the example is unchanged.
05-10-2017 09:11 AM
The Android app compatibility requirements:
Minimum SDK = 19, which is Android 4.4.4
So it should work in your Android 5.1 at least in terms of SDK compatibility.
05-10-2017 10:10 AM
Also we have published the source code the the various Android and iOS applications in github.
The Blue Gecko iOS application is going through updates and the target to have it available in Apple store and github in 9th June.
Blue gecko Android:
05-10-2017 05:46 PM
06-14-2017 08:55 AM
06-14-2017 05:03 PM
I am having trouble with the android project on github. If I downloaded a zip file it is invalid. If I use the github desktop, the project has errors and will not load. In both cases there seems to be a problem with file names too long. Any ideas?
06-15-2017 07:42 AM
We removed the builds from the repo so now the zip works fine. It also decreased the size from 88MB to just under 4MB.
I was able to unzip the previous version with 7-zip by the way, but windows built-in extraction tool was giving the error.