WATCH ON-DEMAND | STM32 Summit 2026
Ask questions and find answers on connectivity ICs, focusing on protocols and I2C challenges on STM32 Nucleo boards and BlueNRG products.
Most recent activity
Posted on January 14, 2018 at 15:36Hello everybody!Is there a limitation for length of HTTP request? I mean for <path&queryopts> in HTTPPOST/GET.
Posted on January 13, 2018 at 02:23Good morning,I am trying to find the protocol between the BlueNRG_GUI and the BlueNRG-MS dongle (STEVAL-IDB006V1).What is the format of the frame that encapsualtes the ACI/HCI requests sent to the USB dongle?Is there any documentation on this topic?Thank you#bluenrg-ms #sensortile-bluenrg-ms-custom-service-aci* #steval-idb006v1 #bluenrg-ms
Posted on January 12, 2018 at 12:33Hi,when I set the authentication requirement to SC_IS_SUPPORTED, the pairing process fails with the error: SMP_SC_DHKEY_CHECK_FAILEDWhat can I do?Thanks#bluenrg
Posted on January 03, 2018 at 17:23 Hi, I'm using BlueNRG as bt peripheral. I can successfully pair my android smartphone, but the BlueNRG doesn'tadd the smartphone to the bonding list. aci_gap_init(GAP_PERIPHERAL_ROLE, 0x00, 0x08, &BluetoothIOService_ServiceHandle, &dev_name_char_handle, &appearance_char_handle); aci_gap_set_authentication_requirement(BONDING, MITM_PROTECTION_NOT_REQUIRED, SC_IS_NOT_SUPPORTED, KEYPRESS_IS_NOT_SUPPORTED, 7, 16, USE_FIXED_PIN_FOR_PAIRING, 123456, 0x01);�?�?�?�? On pairing complete event the bonded devices list is always empty. I suppose it should contains the smartphone address. numBonds is always 0 void aci_gap_pairing_complete_event(uint16_t Connection_Handle, uint8_t Status, uint8_t Reason) { if (Status == 0x00) { uint8_t ret = aci_gap_configure_whitelist(); uint8_t numBonds; Bonded_Device_Entry_t bonds[12]; ret = aci_gap_get_bonded_devices(&numBonds, bonds); if (numBonds > 0) { Whitelist_Identity_Entry_t wle; wle.Pee
Posted on January 09, 2018 at 18:33Hello allI have a idw01m1 connected to f401All seems well with the set up and I am trying to load into the flash some web pages following Lab6 instructionsI have finally found the correct cygwin to form the outfile.typing at+s.httpdfswrite=19540 cr data.The module declares crc errorsI take it that I have got the data length wrong (taken from file properties in windows)Has any body got a suggestion as to what I am doing wrong please.Andrew
Posted on January 09, 2018 at 14:30Hello, everybody.I want to use HTTP client mode. I should send the next message: api/Tokens?username=test&password=123456789&serialnumber=123456789to the server:https://messagebus.example.comand get the response. I try to make next:AT+S.HTTPPOST=messagebus.example.com,/api/Tokens,,,,,Get.txt,Send.txtIn send file i have username=test&password=123456789&serialnumber=123456789but, server give me Error 404 answer. I think, there is a problem in my AT+S.HTTPOST mesage.
Posted on January 11, 2018 at 17:24Hello,I'm using the SPWF01SA in Socket Server Mode. My intention is to send to a browser an html page when the browser ask it to the server. I chose to use the port 80, so I disabled the internal webserver. I open the socket with AT+SOCKD=80 command. The browser sends the request to the server (SPWF01SA) and the server sends correctly the response (web page) to the browser. After receiving the web page, the browser remains in a loading state. To break the loading state of the browser, I have to close the socket server (using at+s. and then AT+SOCKD=0). My question is: is it necessary to close the socket to finish the loading state of the browser? If not, what is another way? Another problem is the following. After the socket is closed, to open it (on the same port) it need to wait 3-4 seconds before sending a new AT+SOCKD=80 command otherwise the module sends the 'ERROR: Init not performed (time-waited connections). I need to se
Posted on January 11, 2018 at 14:37I am using a STEVAL-IDB006V1 MS dongle.For instance, let 's suppose that using this DONGLE with the SensorTile KIT, and that instead of doing int by script thorugh the BLUENRG GUI , i want to modify the dongle firmware to do it in standalone.This firmware modification would 'subscribe' only to one specifc service (for instance accelero data) .So in my idea, i would like to modify the BlueNRG-MS dongle firmware to perform this.Then how would i update this firmware?Can you confirm me that i can update the firmware of the dongle in order to customize it? through the BLueNRG GUI with BlueNRG GUI-->Flash MotherBoard FW menu?Thank you#bluenrg-1-automatic-connection-after-pairing #bluenrg-ms
Posted on January 09, 2018 at 11:55Hi, I have on module SPWF01SA that return '+WIND:11:Initial SPI read failed: 00000000' on power ON.what does it mean? how can#wifi-spwf01sa #spwf01sa
Posted on November 06, 2017 at 18:32HiHow do I get access to the configuration variables (eg, standby_enabled etc) using a micropython scripts. Also how do I commit the variable changes to flash?Best RegardsDom
Posted on January 08, 2018 at 10:00hi,i have a FATVolume.imf with 3 files. I use AT+S.FSUPDATE to download in wifi module.Is it possible after it to delete 1 file with a cmd equivalent to AT+S.FSD (because this command has effect in the RAM memory volume and external SD card volume only and not User Flash) ?ThanksYoann
Posted on December 27, 2017 at 04:15I have a Pepper+Fuchs sensor which interface is LIN(attachements are datasheet & user manual ). I need to test the sensor by computer so I purchased RS232 to LIN converter. I send handshake command on computer to the converter and it respone telegram correctly. The telegram format of converter is as below:While telegram format of Pepper+Fuchs sensor is as below. When i send telegram following below to the sensor, there is no respone at all. Due to the 2 type telegram format is different , i don't know where is the problem. Is there anyone can help me?#232-lin-converter
Posted on December 13, 2016 at 12:50Hi,What is the maximum throughput one can achieve with either BlueNRG-MS or BlueNRG-1?I read that some BLE ICs has a chipset limitation on the number of packets transmitted in a single connection event (e.g., cannot handle more than 6 packets per connection event). Is there a similar limitation in BlueNRG-MS or BlueNRG-1?Thanks.#throughput #bluenrg-1 #bluenrg-ms #ble #bluenrg
Posted on January 05, 2018 at 14:47Hi all,I am facing a problem with the security dababase, I am working with BLUENRG-1, I can paired two devices and getting them advertising and create connection, then close the connection and connect again...everything is working fine.If after all the process I remove the battery from one of the devices and put the batteries back, I can't create a connection again, if I go to the memory position on the bluenrg-1 I can see the address from the device paired there but for some reason I can get them connected again if I do not follow the pairing process.Any suggestion why that problem could be.Thank you
Posted on January 04, 2018 at 11:02hi,SPWF04Sx + UART + FW1.1.0en.x-cube-wifi1_firmware_v3.1.0.zipwifi module is set in miniAP mode. i would like to activate dhcp server. Variable is 'ip_use_dhcpd' = 1 (on).But dhcp doesn't work!To set correctly the server dhcp, i should use variable 'ip_use_dhcpc' = 1 (on). The problem is that ip_use_dhcpc is for Client!I don't know if it's a bug or if i don't understand well server/client dhcp way.Please Confirm?file wifi_const.h:#define IP_USE_DHCP_SERVER ''ip_use_dhcpd' #define IP_USE_DHCP_CLIENT 'ip_use_dhcpc'ThanksYoann
Posted on September 05, 2017 at 10:47Hi,I need to have a SPWF01SA module connect to a Wi-Fi router with hidden SSID.The first operation the module tries upon starting is '+WIND:21:WiFi Scanning' which completes with the result '+WIND:35:WiFi Scan Complete (0x0)' so the handshake can't proceed.The module is already fully configured with SSID, password, DNS and so on. It connects successfully as soon as the SSID is made visible.How can I overcome the void scanning at the beginning and force the connection?Thank you for your help.#spwf01sa
Posted on December 20, 2017 at 18:55I was using a SPWF0SA11 module in my application and it was working fine, when I changed to the production PN, that is SPWF0SA21 I am not able to connect to the module in MiniAP mode. The following message is received from the module:+WIND:2:Reset+WIND:1:Poweron (170111-665d284-SPWF02S)+WIND:13:STM SPWF01SA21 IWM: Copyright (c) 2012-2016 STMicroelectronics, Inc. All rights Reserved.+WIND:3:Watchdog Running+WIND:0:Console active+WIND:32:WiFi Hardware Started+WIND:26:WiFi Started AP with network 'CERVEJEIRAMEMO'+WIND:24:WiFi Up:172.31.141.1+WIND:45:Dot11 AuthIllegal 28679/55+WIND:45:Dot11 AuthIllegal 37612/237+WIND:45:Dot11 AuthIllegal 37614/239The mobile that is trying to connect to the module show an message that authentication was not possible.with the SPWF0SA11 module the message that I receive from the module when mobile connects is:+WIND:28:Station 30:07:4D:82:72:50 Associated+WIND:29:DHCP reply for 172.31.117.2/30:07:4D:82:72:50P
Posted on December 19, 2017 at 19:40Hellowhere can find st92f120 programmer?
Posted on December 07, 2017 at 15:43In the files STM32CubeExpansion_BLE1_V3.2.0\Middlewares\ST\STM32_BlueNRG\SimpleBlueNRG_HCI\hci\controller\bluenrg_hal_aci.cbluenrg_gap_aci.cWe can see some Osal_MemCpy with wrong sizeof. Ex in bluenrg_gap_aci.c:tBleStatus aci_gap_resolve_private_address_IDB05A1(const tBDAddr private_address, tBDAddr actual_address){ struct hci_request rq; gap_resolve_private_address_cp cp; gap_resolve_private_address_rp rp; Osal_MemCpy(cp.address, private_address, 6); Osal_MemSet(&rq, 0, sizeof(rq)); rq.ogf = OGF_VENDOR_CMD; rq.ocf = OCF_GAP_RESOLVE_PRIVATE_ADDRESS; rq.cparam = &cp; rq.clen = sizeof(cp); rq.rparam = &rp; rq.rlen = sizeof(rp); if (hci_send_req(&rq, FALSE) < 0) return BLE_STATUS_TIMEOUT; if(rp.status) return rp.status; Osal_MemCpy(actual_address, rp.address, sizeof(actual_address));  
Posted on December 18, 2017 at 09:15Hello there!I would like to ask what i'm doing wrong in activating the miniAP with my SPWF04SA. I've read SPWF04SA's datasheet, UM2114, AN4964 and most of ''WiFi Training Hands on SPWF04SA module'' pdf. I have 2-3 modules IDW04A1 and a couple NUCLEO-L053R8 boards. In the beginning i just grabbed a USB to Serial converter (FTDI) and used it to communicate with the IDW04A1 module. After communication was OK, i downloaded ''Flash Loader Demonstrator'' version 2.8 and updated via UART SPWF04SA's firmware. The firmware installed is ''SPWF04S-171117-0328fe3-Release.hex''. In the STSW_WIFI004 folder i saw ''SPWF04S-171117-0328fe3-Full.hex'' file. Is this file the same as ''SPWF04S-171117-0328fe3-Release.hex'' ?? (Anyway i haven't tried this one yet).Next i tried some basic commands and some python scripting with AT commands and usb2serial converter setup and everything worked. But when i tried to setup a miniAP, it didn't work out at all. After many tries,
Posted on June 20, 2017 at 11:26Hello,we are designing an RF interface for the ISM 868-870 MHz band.We are attracted to the S2-LP transceiver mainly because it drains only 10 mA at 10 dBm RF output powerI got a couple of questions about the S2-LP transceiver.1. Does it support a TCXO?If yes, what's the suggested frequency for the best phase noise performance?2. Does a single chip 'balun + conjugate match + harmonic filter' exist or at least planned for introduction by Q4 2017?Best Regards,Enrico Miglore#balf #conjugate-match #harmonic-filter #tcxo #s2-lp
Posted on December 14, 2017 at 15:10Hi,We are trying to communicate with SPWF04S over SPI interface. We can send commands to set or get wifi configurations.Problem just happens when we try to send 'AT+S.WIFI=0'. In SPI mode, this command will be converted to'0x02, 0x00, 0x04, 0x32, 0x01, 0x01, 0x30'.SPWF04S detected this command and return 2 packages:The first is:'0x02, 0x32, 0x00, 0x00, 0x00'Second is:'0x02, 0x12, 0x31, 0x01, 0x00'The second package shows there is 1 byte payload can be read but the SPI_IRQ pin is no longer pull to low after the second package, so we can't read this byte. If we try to read, response looks random data.Worse thing is, we tried send another commands after that, SPI_IRQ is always high and look like SPWF04S couldn't detect these commands and stops response. Reset the module is needed in this case.'AT+S.WIFI=0' works fine in UART mode.Our SPI configurations should be OK since all other commands look OK.Thank for your help!
Posted on December 15, 2017 at 10:05Hello,I am trying to develop a Sigfox application with the S2-LP transceiver.I bought the STEVAL-FKI868V1 evaluation kit and I downloaded the STSW-S2LP-SFX-DK software.Everything works well with the kit, but now I need to use the S2-LP with an other microcontroller for my application.However, I discovered that the Sigfox libraries provided in the software tool are compiled for ARM cores, so I can't use them.I also couldn't find any application note about a Sigfox application with the S2-LP, so I have no idea how to make the transceiver work.Does anyone know how to configure the registers of the S2-LP to send data over Sigfox ?Or is there an application note about the subject that I would have missed ?Thank you in advance for any answer,L.J.#s2-lp #steval-fki868v1 #sigfox
Posted on December 01, 2017 at 06:26I am using aci_gatt_update_char_value() on a BlueNRG-MS to send notifications to a master device. The first number of times this function is called it returns BLE_STATUS_SUCCESS but then it returns BLE_STATUS_INSUFFICIENT_RESOURCES. After this I wait for the EVT_BLUE_GATT_TX_POOL_AVAILABLE before attempting to call aci_gatt_update_char_value() and I am able to send more notifications. The problem is that it takes 4 to 5 seconds to get the Tx pool available event but I am using a connection interval of 100ms so this delay seems way to big. I am using the latest BlueNRG firmware (v7.2c) and using Stack Mode 4.#bluenrg-ms
Posted on December 12, 2017 at 22:52Hello running the example code : WIFI_Example_Client_Socketusing SPWF04SAalso the server program in the st utility ip 10.0.0.1 (checked with external socket.exe and worekd)but the WIFI_Example_Client_Socket moo working or sending data please view the log.../********************************************************* ** X-CUBE-WIFI1 Expansion Software v3.1.0 ** X-NUCLEO-IDW0xx1 Wi-Fi Configuration. ** Client-Socket Example
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.