Results 1 to 4 of 4

Thread: bad reply from esp32 on rfcomm bluetooth

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2021
    Posts
    1

    bad reply from esp32 on rfcomm bluetooth

    Hi, I need to realize a communication via Rfcomm protocol of Bluetooth classic to replace a serial wire communication between an ESP32-DevKit board and a program made in visual studio 2019 with c# on windows forms application and I have loaded the InTheHand Feet32 DLLs library to do it. The project involve sending commands in byte format from the pc to the board and its response to the command. I tested the operation between esp32 and the bluetooth serial terminal tool and it works. I also tried with DockLight opening the virtual serial ports and it works. When I try with the program I created, the command that I send arrives on the ESP32 board, while the response if I put the breakpoint, I see the data in the buffer, when I remove the breakpoint the data arrives partially and incorrectly. I have used both read and readbyte functions but the thing doesn't change. Does anyone have any suggestion about this. I also have to say that I put in TRY the reception of data is often arrives the following exception: I/O operation terminated due to thread exit or application request. Thank you for a possible answer.

  2. #2
    PowerPoster Poppa Mintin's Avatar
    Join Date
    Mar 2009
    Location
    Bottesford, North Lincolnshire, England.
    Posts
    2,423

    Re: bad reply from esp32 on rfcomm bluetooth

    Hi Tebron,

    I'm, surprised that you have had no answers to your question, in this forum questions are usually answered the same day.

    That said, to help you we need to see the relevant code... And... You only mention C#, are you sure that you've posted in the right forum?

    This forum is for VB.NET so maybe you could try again in the C# forum.


    Poppa
    Along with the sunshine there has to be a little rain sometime.

  3. #3
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,532

    Re: bad reply from esp32 on rfcomm bluetooth

    Wait... no... don't try again... I'll report the post to the mods and ask them to move it to the C# area.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,929

    Re: bad reply from esp32 on rfcomm bluetooth

    Welcome to VBForums

    Thread moved from the 'VB.Net' forum to the 'C#' forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width