Turn antiquated peek and poke interfaces in embedded module to modern web APIs
embedded system, command line interface, Hyper Text Transfer Protocol (HTTP), REpresentational State Transfer (REST), Application Programming Interface
In Embedded system, peek and poke are the fundamental command sets available in command line interface to read or write memory address or hardware registers. During the early stage of development and debugging embedded board designs, developers may need to read (peek) values from hardware and write (poke) values into its registers or memory address before developing the driver codes . Most of the times these command sets are redesigned due to hardware change.
This paper describes the design to turn traditional peek and poke command sets interface to generic web APIs which are built upon existing well proven technologies and network protocols like HTTP and RESTful. This paper not only describe the overall architecture and flow, but also defines the methods that extends the peek and poke capability to work with other on-board peripherals. Moving to modern web APIs design would open the prospect to use cloud computing power to peek and poke directly at hardware level of complex embedded devices deployed in the field.