• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

BLE Server Info not showing

Q&A Forum › Category: ESP32 › BLE Server Info not showing
0 Vote Up Vote Down
David Hughes asked 7 years ago

I am trying the BLE Server sketch, but while the ESP32 connect to my nRF app, I do not see the Temperature and Sensor data. I think the app is different on IOS to Android, but I do not see the same type of screen info.

Screen shot here https://imgur.com/a/CsBaZhi

https://imgur.com/a/CsBaZhi

 

Question Tags: BLE Server
7 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 7 years ago

Hi David, the app seems to be working and you’ve enabled the notify properties properly…

Your app looks way different than mine (I’m using Android). Can you see the service “91bad492-b950-4226-aa2b-4ede9fa42f59”? And then, open it to see the characteristics?

When you pressed those notifications icons did, you’ve enabled the notify property:

0 Vote Up Vote Down
Rui Santos Staff answered 7 years ago

When you enable the notify property in the app, do you have your Arduino IDE serial monitor open? What does it print? Can you see valid values of the DHT sensor?

0 Vote Up Vote Down
David Hughes answered 7 years ago

This is what I am getting in the Serial monitor. There seems to be a callback error.
 
st:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:812
load:0x40078000,len:0
load:0x40078000,len:11572
entry 0x40078a5c
Waiting a client connection to notify…
E (48824) BT: Call back not found for application conn_id=3
Temperature Celsius: 17.00 *C – Humidity: 65.00 %
Temperature Celsius: 17.00 *C – Humidity: 65.00 %

0 Vote Up Vote Down
David Hughes answered 7 years ago

And now I have successfully compiled and uploaded to the client device, this is what I see in the Serial monitor for the client. I see DHT Reading on the display but no data:
Starting Arduino BLE Client application…
Device found. Connecting!
– Connected to server
– Found our characteristics
We are now connected to the BLE Server.
E (21094) BT: bta_gattc_conn_cback() – cif=3 connected=0 conn_id=3 reason=0x0008
E (21094) BT: bta_gattc_conn_cback() – cif=4 connected=0 conn_id=4 reason=0x0008
 

0 Vote Up Vote Down
David Hughes answered 7 years ago

well that’s odd. After rebooting both boards, seems to be working correctly now with temp and humidity showing.
 on the display

0 Vote Up Vote Down
Rui Santos Staff answered 7 years ago

That is definitely very odd and I don’t have a good answer for you, because I haven’t encountered that error myself. Did it keep working afterwards?

0 Vote Up Vote Down
David Hughes answered 7 years ago

Yes it did thanks.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.