arcbtc / M5StackSats

A bitcoin point of sale terminal using the ESP32 based M5Stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If connecting over ip on a LAN

arcbtc opened this issue · comments

commented

(ie const char* server = "10.xxx.xxx.xxx;)
Find replace client.setCACert(test_root_ca); to //client.setCACert(test_root_ca);
In reqinvoice function replace String topost = "{\"value\...... with:

 String topost = "{\"value\": \""+ value 
+"\", \"memo\": \""+ memo + String(random(1,1000)) 
+"\", \"expiry\": \"1000\","+
+"\"private\": true}";

find replace M5.Lcd.qrcode(payreq,45,0,240,10); to M5.Lcd.qrcode(payreq,45,0,240,14);