iomode

Results comments of iomode

Currently I am using the hostapd version from here: http://jenssegers.be/blog/43/Realtek-RTL8188-based-access-point-on-Raspberry-Pi (jenssegers/RTL8188-hostapd@783ec4b69be4baadaee0b5134740645dd307383e) It is the same version as the hostapd from the 4.0.2_9000 source (v0.8.x). (last updated 2011?) It works fine...

I am almost sure that wpa_supplicant_hostapd-0.8_rtw_r7475.20130812.tar.gz is no update, the changelog and version.h files did not change and some source files I have checked have the same line count.

ok, you are right. ``` bash diff -u -w -r -s RTL8188-hostapd/src wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/src | diffstat ap/wpa_auth.c | 2 common/version.h | 6 crypto/random.c | 18 +- drivers/driver_rtl.h | 3 drivers/driver_rtw.c |...

Thank you, it worked ;) I compiled your code and loaded it after ads7846, /dev/spidev0.1 is back! I am currently not able to test the interface but it looks good...

Now I can verify that the spidev0.1 interface works without problems. spidev handles chip select switching between the slaves. (prevents race condition).

This are my results: python script: ``` 2016-02-25 10:43:13.883 (Thread = 0x00000470) - SCardConnectA( hContext = 0xCD010000, szReader = "MYREADER 0", dwShareMode = 0x00000003, dwPreferredProtocols = 0x00000000 ): 2016-02-25 10:43:13.883...

I think we found the problem. abResponse[65548] fails the same way as python. abResponse[65544] is the biggest working size. Maybe this should better not exceed 2^16 (65536)?

It works! Thank you for your awesome support. I can now send any escape command without problems. Btw. did this bug only affect the escape command?