ESP8266-powered receipt printer inoisa RESTful API pamuti wakafa

[Davide Gironi] akaunza ruzivo rwake rwedhijitari munyika chaiyo uye akazvivakira yake yekunyora zvinyorwa kuburikidza nenzvimbo-yekutengesa risiti printer uye ESP8266.
Wakatoona maprinta aya emarisiti pahwindo reodha yehotera.Sevha inoisa odha kubva kune chero muchina muresitorendi yese, yobva yaburitsa pfupiso yebepa kuti mubiki atange kushandisa (kana kutocheka chinzvimbo chake).Nei tisingafaniri kuwana zviri nyore izvi muupenyu hwedu?
Vadhindi vanotaurirana vachishandisa musiyano we “Epson Printer Standard Code”, iyo [Davide] akanyora raibhurari uye akaita rombo rakanaka kugovera kodhi yacho.Shandisa maviri ezvinodzora uye zvimwe zvinhu zvinongo shanda kuti uwedzere ESP8266 kugadzira isina waya (kunze kweiyo magetsi) isina waya.Iyo ine zvese zvinonakidza zvekumisikidza zvitupa zveWiFi, kana uchingomhanya, ingo dzvanya bhatani pachiteshi uye inopfira kunze data rako.
Asi mira, data iri rinobva kupi?Iyo web-based settings peji inokubvumira kugadzirisa URI kune RESTful sosi yesarudzo yako.(XKCD ine imwe, handizvo here?) Inokubvumirawo kuti ugadzirise misoro, zvinyorwa, mameseji ekukanganisa, uye zvechokwadi logo yekambani yehacker.
Imwe yenguva yedu yatinofarira yekudhinda maresiti ndeye apo aimbove mupepeti weHackaday [Eliot Phillips (Eliot Phillips)] akaunza printa yekuzvitora kuSupercon.Hatina kuwana chero mapikicha emufananidzo uyu, saka takazadza imwe yacho nekamera yePolaroid kuti tikuunzire unyanzvi hwakanaka kwazvo [Sam Zeloof].
Mike akangoisa achizvininipisa mufananidzo wake unotapira pane iyo huru blog.https://twitter.com/szczys/status/1058533860261036033
Nekushandisa webhusaiti yedu uye masevhisi, unobvumirana pachena nekuiswa kwedu kwekuita, kushanda uye kushambadza makuki.dzidza zvimwe


Nguva yekutumira: Mar-29-2021