Skip to content
This repository has been archived by the owner on Oct 8, 2020. It is now read-only.

Project is not compatible with PlatformIo #22

Open
williamesp2015 opened this issue Mar 1, 2017 · 1 comment
Open

Project is not compatible with PlatformIo #22

williamesp2015 opened this issue Mar 1, 2017 · 1 comment

Comments

@williamesp2015
Copy link

Hi. this is great websocket project for ESP32 because there is no source for it. Unfortunately I couldn't import to PlatformIo using ESP32.

@sloanyyc
Copy link

sloanyyc commented Mar 9, 2017

base64 function don't work with 32bit process.
modify lib/aw-base64.h below 32->23. make it compatible with 32bit process.
*buf++ = (((n - 0 - i) >> 31) & '=') |
(((n - 0 - i) >> 31) & t[x >> 1 * 6 & 0x3f]);
*buf++ = (((n - 1 - i) >> 31) & '=') |
(
((n - 1 - i) >> 31) & t[x >> 0 * 6 & 0x3f]);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants