Search found 22 matches

by Markus Becker
Sun Dec 08, 2019 2:37 pm
Forum: Hardware
Topic: Custom board keeps killing chips
Replies: 2
Views: 4400

Re: Custom board keeps killing chips

... a bit late, but...
I would not recommend 1N4001 for D1 and D2, rather something faster, like 1N4148. And may be add small caps from the relay coils to ground.
Best
Markus
by Markus Becker
Fri Oct 11, 2019 11:35 am
Forum: General Discussion
Topic: RNG Quality (Dieharder Test Results Failing)
Replies: 8
Views: 15018

Re: RNG Quality (Dieharder Test Results Failing)

Hi bnp117, done, here the result from my testing: Starting test output #=============================================================================# # dieharder version 3.31.1 Copyright 2003 Robert G. Brown # #=============================================================================# rng_name ...
by Markus Becker
Thu Oct 10, 2019 3:57 pm
Forum: General Discussion
Topic: RNG Quality (Dieharder Test Results Failing)
Replies: 8
Views: 15018

Re: RNG Quality (Dieharder Test Results Failing)

Hi bnp117, well, I'm working on reproducing your test, just it takes time to collect data... 8-) Having said this, as not being an expert, I'm not completely sure about the relevance of dieharder to judge the quality of a TRNG. I also see tests failing when doing `dieharder -g 501 -a` on a Ubuntu bo...
by Markus Becker
Thu Nov 29, 2018 12:18 am
Forum: Hardware
Topic: Auto download fails in virtual machines possibly due to USB lag
Replies: 9
Views: 12625

Re: Auto download fails in virtual machines possibly due to USB lag

Hi Angus, Meaning that it may be possible to patch around the timing issue for all supported esptool.py platforms. Although it does involve using pyserial private APIs, which may not be a great long-term plan. Totally aggree. I think I don't use pyserial private api (.fileno() instead of ._port_hand...
by Markus Becker
Wed Nov 28, 2018 9:41 pm
Forum: Hardware
Topic: Auto download fails in virtual machines possibly due to USB lag
Replies: 9
Views: 12625

Re: Auto download fails in virtual machines possibly due to USB lag

Hi RMandR, We use the toolchain within Ubuntu guest on Windows host. We use VirtualBox virtualization (with usb virtualization). In our environment we did not manage to get the auto-program logic to work reliable. Latencies introduced by usb virtualization caused the logic to fail in our case. Chang...
by Markus Becker
Tue May 08, 2018 10:21 pm
Forum: ESP-IDF
Topic: ESP32 SPP send throughput
Replies: 12
Views: 27914

Re: ESP32 SPP send throughput

hmm, I'm not sure, if that was clear enough. Flow control can affect all SPP connections and is organized "under the hood" within the stack, so that might well affect your use case as well. "Credit based flow control" is a mechanism for SPP, which is negotiated between acceptor and initiator when th...
by Markus Becker
Sat May 05, 2018 2:27 pm
Forum: ESP-IDF
Topic: ESP32 SPP send throughput
Replies: 12
Views: 27914

Re: ESP32 SPP send throughput

The ESP_SPP_CONG_EVT can have different reasons ranging from filled queues, out of heap to flow control. In the callback however, the reason for the congestion is not reported to the app, which complicates things as on congestion data can be lost or not, depending on that reason. In my case, I found...
by Markus Becker
Sat Apr 28, 2018 9:59 am
Forum: General Discussion
Topic: Bluetooth SPP using Linux
Replies: 3
Views: 9454

Re: Bluetooth SPP using Linux

I digged further and finally found the following: esp32@esp32:~$ rfcomm connect 1 24:0A:C4:03:A3:CA 2 Connected /dev/rfcomm1 to 24:0A:C4:03:A3:CA on channel 2 Press CTRL-C for hangup This means, by now we need to assign exactly channel 2 to get the connection up. Further, it seems impossible to esta...
by Markus Becker
Wed Apr 25, 2018 8:23 pm
Forum: General Discussion
Topic: UART to SPP bridge: how to send data from UART to SPP?
Replies: 12
Views: 17648

Re: UART to SPP bridge: how to send data from UART to SPP?

Hi newsettler_AI, you need to somewhow manage the connection(s) anyway, to know if a connection is available at the point in time where you want to send data. In the callback you can store the handle of a new connection: ... case ESP_SPP_SRV_OPEN_EVT: handle =param->open.handle; ESP_LOGI(TAG, "ESP_S...
by Markus Becker
Wed Apr 25, 2018 7:53 pm
Forum: General Discussion
Topic: Bluetooth SPP using Linux
Replies: 3
Views: 9454

Bluetooth SPP using Linux

Dear all, I try to connect to an ESP32 executing the bt_spp_acceptor demo from an Ubuntu 17.3 VM running on Virtualbox 5.1.30r, which fails. The funny thing is, that I can connect to the ESP32 using Windows or Android. And from the Linux Box connections to other SPP devices work too. The procedure: ...