bluegiga | resources specifically related to my role as a Bluegiga FAE
kandi X-RAY | bluegiga Summary
kandi X-RAY | bluegiga Summary
This is a collection of documents and other resources specifically related to my role as a Bluegiga FAE, particularly for providing easy, consolidated access for presentation material and accompanying source code. For more information about Bluegiga and the various products we provide, please visit for all available product material. I also highly recommend going to to create a free account which will give you access to our Tech Forum, Knowledge Base and support system which can help tremendously in getting started with our products. You can contact me directly at jeff dot rowberg at bluegiga dot com.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- parse a single byte
- check for activity
- Add a function to the list .
- Fires all registered functions .
- Remove a function from the list .
- Return the list of functions associated with this event .
- send a packet to the server
- Return an event handler
- Prepare a packet for writing .
- Defines the constructor .
bluegiga Key Features
bluegiga Examples and Code Snippets
Community Discussions
Trending Discussions on bluegiga
QUESTION
I have been using esp32 for some projects.
Now i want to include classic bluetooth with a serial profile for one of our old projects.
In theory ESP32 is class 1,2,3 Bluetooth and in theory it supports 100meters.
I have been trying to raise the TX power for bluetooth playing with function esp_bredr_tx_power_set.
I have been able to raise it a bit passing params:
...ANSWER
Answered 2020-Dec-15 at 12:35The highest TX output for an ESP32 is +9dbm, which falls in-between BT class 1 (+12dbm) and class 2 (+4dbm). So you have what it seems already set your TX power output to the maximum. It's not clear if you are using an PCB antenna or an external antenna, the latter will of course increase the range.
For the different BT power classes see this link
See Espressive document (scroll down to section with ESP_PWR_LVL_P9)
QUESTION
I have been trying for a while to write to a custom gatt characteristic using pygatt and a Bluegiga BLE112D.The device I'm trying to write to is also a BLE112 (not the dongle). I've been using the following python script:
...ANSWER
Answered 2018-Nov-27 at 01:47This issue was solved by adding wait_for_response=True
as a parameter in the char_write
function. So the new write function call is:
device.char_write(characteristic, bytearray([0x00, 0xFF]), wait_for_response=True)
I'm not entirely sure why this is the case, but I believe that the script was reading from the characteristic before the new value was written.
QUESTION
I turned my raspberry pi to ibeacon transmitter, but my iPhone cannot detect my pibeacon signals for ranging, for example, it cannot say( push notification) whenever it's close( in the immediate distance) to pibeacon. However, my phone is working properly with other kinds of USB beacons such as Bluegiga and Radbeacon. Has anyone ever faced the same problem?
...ANSWER
Answered 2018-Jun-30 at 21:27iOS devices will not detect iBeacons packets unless the ProximityUUID of the beacon packet is pre-configured into the iOS app that is searching for them. Based on the commands shown in the question, the ProximityUUID being configured with the Pi is 43F2ACD1-5522-4E0D-9E3F-4A828EA12C25
It may just be that the iOS app you are using to try to detect it as an iBeacon packet is not pre-configured to look for the above ProximityUUID.
Non-beacon BLE apps on iOS can see your Pi's advertisements, so the fact that non-beacon apps detect it can still mean this is the problem.
If you are successful in using a beacon app to detect a RadBeacon, it can probably detect the default RadBeacon Proximity UUID of 2F234454-CF6D-4A0F-ADF2-F4911BA9FFA6. If your app can detect that, try configuring that into your Raspberry Pi start advertising command like this:
QUESTION
Introduction
I'm currently developing an application based on Bluegiga BLE-112 module. The module is programmable in BGScript scripting language. However, only editor I found, that has some kind of support for BGScript, is Notepad++, which does not suit my needs. Therefore, I started development of my own extension for Visual Studio Code (one available in the extension market is not working). I already went past through colorizer and error parsing, now I'm creating a part with code suggestions.
Main problem
I'd like to have all functions, enumerations and events embedded in the language listed when I'm typing. I found that code snippets could be the way of achieving this. An example of snippet in JSON format that works as I expect looks like below.
...ANSWER
Answered 2018-Jun-09 at 13:25Yes, you can register a CompletionItemProvider via registerCompletionItemProvider()
(see the languages
namespace). This should cover all your use cases, as completion items can also use snippet insertion by making their insertText
a SnippetString
.
Often this (along with other providers) is implemented through an abstraction layer called the Language Server Protocol instead of using the VSCode API directly, which makes it editor-independent.
QUESTION
I am using a BLE121LR module to construct an Eddystone beacon. I am aware of the overall BLE related advertisement use cases and advertisement packet format for Eddystone as well. I know Eddystone packet does not contain device (friendly) name.
I have set up the beacon advertisement using API:
...ANSWER
Answered 2017-Oct-21 at 11:53It isn't possible to advertise the name of the beacon since there is no room in the advertising packet. The intent with Eddystone is that the advertised URL is the means of identification. You could try using multiple advertisements. Use a timer to control switching between the Eddystone beacon and another advertisement which does contain the device name.
QUESTION
I'm building an app in CN1 that communicates with a BLE device (BlueGiga BLE module). In android 5.0 an CN1 app works as it should. In Android 6 the same app can't find any BLE devices. I can however connect manually to a specific BLE device (device address preset). So the scanning in Android 6 doesn't work. Based on this I figured out that I need to turn on GPS location and in the source add:
LocationManager locationManager = LocationManager.getLocationManager();
Is this a bug in CN1 or is it a problem in android? The default scanner in Android 6 (under Settings -> Bluetooth) and the app BlueGiga don't need to turn on GPS location (BlueGiga is written in Android). I also found the app BLE Scanner that does need to turn GPS location. Is it written in CN1?
Why is it necessary to turn on GPS location for BLE scanning to work on devices with Android 6?
...ANSWER
Answered 2017-May-04 at 04:47The location manager in Android doesn't necessarily map to GPS it maps to "hybrid location" which means it can take location from various sources and combine them into a single location.
I'm not familiar enough with that device but if it provides location it makes sense to "ask for location permissions" which is what we are doing here. As James mentioned in the comments this has nothing to do with the fact that the device is implemented as BLE as that's an external cn1lib and we just invoke the Android API's which abstract that.
QUESTION
I am trying to develop an application that is communicating with an external device using BLE. I have decided to use pygatt
(Python) with BGAPI
(using a BlueGiga dongle).
The device I am communicating with has a custom primary service with a set of characteristics. According to their specs they have 2 READ characteristics, 8 NOTIFY chars and 1 WRITE char. Initially, I want to read one of the two READ chars, but I am unable to do so. Their UUIDs are not recognized as characteristics. How can this be? I am 100% certain that they are entered correctly.
...ANSWER
Answered 2017-Feb-01 at 13:23This appears to be some kind of shortcoming in the pygatt
API. I managed to find the actual value using bgapi
only.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install bluegiga
You can use bluegiga like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page