Questions tagged [bluenrg]

The BlueNRG is a very low power Bluetooth low energy (BLE) single-mode network processor, compliant with Bluetooth specification v4.0.

The BlueNRG is a very low power Bluetooth low energy (BLE) single-mode network processor, compliant with Bluetooth specification v4.0.

Official webpage

27 questions
3
votes
2 answers

BlueNRG Bluetooth: read central device name

I'm using the STM BlueNRG-MS chip on my peripheral device and after connection I'd like to read the name of the connected central device (android phone). I thought I can do this directly in my user_notify routine which is registered as hci callback …
po.pe
  • 1,047
  • 1
  • 12
  • 27
1
vote
0 answers

aci_gatt_add_serv() returns out of memory

Can you increase/allocate more memory to a service? How do I do this? The first 3 services I add have no issues. When I add the fourth service I have a ret of 0x1f(out of memory). My service lookes like: tBleStatus…
Lenny018
  • 21
  • 3
1
vote
1 answer

BlueNRG_Stack_Initialization error 0x48 on BlueNRG1

I have been having struggles while programming the Bluenrg1, more specifically when trying to start the BLE mode on it. The method BlueNRG_Stack_Initialization is returning 0x48 which refers to BLE_STATUS_OUT_OF_MEMORY. All this happened with the DK…
1
vote
0 answers

STM BlueNRG maximum services

I posted this question also in the STM Community Forum but you seldom really get help there I'm struggling to get some detailed information on how to determine the correct number for the max_attr_records value of the aci_gatt_add_serv() function. I…
po.pe
  • 1,047
  • 1
  • 12
  • 27
1
vote
1 answer

Decode Ble data raw flutter

I'm developing a flutter app using the flutter_blue library to interface a BlueNRG-tile from STMicroelectronics. I'm receiving the the raw data from the desired caracteristics then i'm note able ble to convert them to string using the utf8.decode()…
1
vote
1 answer

Reduce occurrence of Instant Passed (0x28) BLE disconnection error

I am developping an application on the STM32 SPBTLE-1S module (BLE 4.2). The module connects to a Raspberry Pi. When the connection quality is low, a disconnection will sometimes occur with error code 0x28 (Reason: Instant Passed) before the…
Xavier B
  • 13
  • 3
1
vote
0 answers

Updating bluetooth device name

I have a bluetooth blueNRG device on STM32 mcu firmware to which I'm programming. I want user to be able to change the name under which device is visible over bluetooth. The app sends new name to device, device stores it and upon next start when…
Vitaly
  • 41
  • 7
1
vote
1 answer

Wireless communicatin with BLueNRG usinf stm32l053r8t6 nucleo

Hello to all Geeks, I am beginner to BLE technology since kindly help me out by clearing the issue i am trying to add a new GATT service to x-cube ble ("http://www.st.com/web/en") ,but unfortunately the service is not shown in the…
M V AUSTIN
  • 43
  • 10
1
vote
2 answers

Unknown BlueNRG SPI response

I'm trying to communicate with BlueNRG chip (on X-NUCLEO-IDB04A1 extension board) connected to STM32L1 (on NUCLEO-L152RE board) over SPI protocol. According to BlueNRG manual, I can send an empty SPI packet of 5 bytes: (0x0B, 0, 0, 0, 0) to get the…
kvark
  • 5,291
  • 2
  • 24
  • 33
0
votes
0 answers

How can I make multiple scans using the BLUENRG-M0

I am developing a simple scanner using the BLUENRG-M0 from ST. I have a custom board wtih an MSP430F5255 I just want to make multiple scans to discover other devices of interest around. I am following the ACI API from ST and my first scan is…
0
votes
0 answers

BLE Timeout with terminate_gap_procedure using BLUENRG

I am developing an IOT solution using the BLUENRG-M0 from ST. I am coding in C and I use a custom board with SPI communication between the BLUENRG and my MSP430F5255 from T.I . I am using the ACI API to transmit commands to the BLE module. I have 2…
0
votes
0 answers

Update MTU size for Bluetooth

Background: I have written Embedded application running on a STM32 chip with BlueNRG_M0 Bluetooth(4.2) LE module. I have a C# windows Application that is the client and is reading data form the embedded(remote) device. Problem Statement: The C# is…
Lenny018
  • 21
  • 3
0
votes
0 answers

Having trouble using windows.Devices.Enumeration

Intent: Trying to create a PC Bluetooth application to talk to STM32 BlueNRG module. I'm trying to use the following nugit packages for bluetooth: using Windows.Devices.Bluetooth; using Windows.Devices.Enumeration; I added the…
Lenny018
  • 21
  • 3
0
votes
1 answer

BlueNRG-MS only allow known device to connect

I have a BLE peripheral with the STM BlueNRG-MS chip. I use the bluenrg API. The peripheral should be generally discoverable, but only known devices should be allowed to connect. I thought I can achieve this by checking the bdaddr of the central…
po.pe
  • 1,047
  • 1
  • 12
  • 27
0
votes
0 answers

Need help for a deeper understanding of BLE

I have to write a BLE application on an embedded device and there are some features where I'm not sure if BLE supports that or whether I've to create some wrapper around everything or if it's maybe not possible at all. The gerenal descriptions of…
po.pe
  • 1,047
  • 1
  • 12
  • 27
1
2