ESP32 - BLE Characteristic - Notify help

40.0 EUR

40.0 EUR peopleperhour Technology & Programming Overseas
27 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

Subject: Request for Basic App Development for Patient Details Capture I am in need of a basic app that can be utilized by nurses to efficiently capture patient details and transmit them to our office. Presently, we are utilizing WhatsApp for this purpose; however, I believe that an app would offer a more user-friendly experience. The app should be compatible with both iPhone and Android devices, as well as other common mobile platforms. Certain sections of the app will necessitate the use of drop-down menus. I kindly request that only individuals who can provide evidence of their previous similar work reach out to me. Please refrain from replying if you are unable to furnish proof of your relevant prior projects. Listed below are the specific details that each nurse should complete whenever they record patient information. Patient name : Patient ID : Sex : male or female Patient medical aid number : Medical aid name : Diagnosis: Hospital being transferred from: Time pt. arrived in casualty/ward: Date pt. arrived in casualty/ward: Transferring doctor : Transferring nurse : Sr Hospital brings transferred to: To which ward : Bed number : Name of receiving doctor : Medical speciality of receiving Doctor: Reason for transferring patient (eg your hospital is on divert, your hospital is not the medical aid DSP etc) : Patient’s clinical vitals Pulse rate : Respiration Rate: Bp: Sats on room air : Is pt. on supplementary O2? : yes/ no If yes, how many L/min : Hgt : Temp : Hb : Known Allergies to medication: Past Medical history : Does pt. need an isolation ward : yes /no GCS: /15 Peripheral Iv line inserted? : yes/no What fluids eg, ringers lactate , normal saline, basol : CVP line inserted yes/no: Urine catheter yes/no: Other : Drugs name given, drug dosage & time administered 1) 2) 3) 4) Is the patient on a ventilator : yes/no Is the patient using a CPAP : yes / no Is an infusion pump required : yes /no If yes how many infusion pumps are needed: Which drugs are being infused : Is a syringe driver required : yes/no If yes how many syringe drivers are required: Which drugs are being being administered in the syringe drivers :
400.0 USD Technology & Programming peopleperhour Overseas
18 hour ago