ESP32 - BLE Characteristic - Notify help

40.0 EUR

40.0 EUR peopleperhour Technology & Programming Overseas
325 days ago

Description

I am working on an ESP32 project that involves BLE communication with a Unity application. The ESP32 reads data from sensors and notifies the connected BLE client (Unity app) of the sensor values. Most of the characteristics are working fine, but I am facing an issue with one specific characteristic (Ch_data1) that fails to notify the client.Project Details:Microcontroller: ESP32BLE Client: Unity applicationBLE Server: ESP32Sensors: DHT11, DHT22 for temperature and humidityAdditional Data: Voltage readingProgramming Language: C++ for ESP32, C# for UnityProblem Description:
The Ch_data1 characteristic, which contains voltage, firmware version, and other relevant data, is not notifying the connected BLE client (Unity application). Other characteristics are successfully notifying the client, but Ch_data1 fails to do so despite similar setup and code.What I've Tried:
Ensured MTU is set to 512Verified other characteristics notify correctlyChecked data formatting and lengthAdded delays between notificationsTested with BLE scanner apps to rule out Unity app issuesRequirements:
Identify the root cause of why Ch_data1 is not notifying the BLE client.Provide a solution or workaround to enable successful notification for Ch_data1.Ensure the solution is stable and doesn't interfere with other BLE functionalities.Additional Information:
I'm using the NimBLE library for BLE on the ESP32.Unity logs indicate it subscribes to the characteristic, but no data is received.Other characteristics (e.g., temperature, humidity) notify correctly without issues.Deliverables:
Debugged and fixed code for the ESP32.Detailed explanation of the issue and the steps taken to resolve it.(Optional) Any recommendations for optimizing BLE communication in my setup.

关注公众号,不定期副业成功案例分享
Follow WeChat

Success story sharing

Want to stay one step ahead of the latest teleworks?

Subscribe Now

Similar Teleworks

Description: We are seeking an experienced Cisco Network Security Consultant to assist with the migration of legacy ASA5515 firewalls to Cisco Firepower 1010 devices, including configuration of Firepower Management Center (FMC) and integration with Duo for secure authentication. Key Responsibilities: Configure Cisco Firepower 1010 devices and register them with FMC Migrate and recreate existing ASA policies, NAT rules, and VPN configurations into FMC-managed Firepower appliances Assist with setting up remote access VPN (AnyConnect) on the new platform Integrate Duo Security via RADIUS/LDAP for user authentication Troubleshoot authentication and policy deployment issues Optimize firewall performance and review existing rule sets Provide documentation and knowledge transfer to in-house technical team Required Skills & Experience: Strong experience with Cisco ASA and Firepower Threat Defense (FTD) In-depth knowledge of FMC, Cisco VPNs, ACLs, and NAT Experience integrating multi-factor authentication (preferably Duo) Familiarity with enterprise networking and firewall best practices Ability to work independently and remotely in a secure environment Cisco certifications (e.g., CCNP Security, CCIE Security) are highly desirable Engagement Details: Duration: Short-term project Location: Remote, with access to our test environment Start Date: Immediate availability preferred Deliverables: Fully configured Firepower devices, migrated policies, functioning Duo authentication, and documentation
363.0 GBP Technology & Programming peopleperhour Overseas
4 hour ago