Skip to content

ivi-shell: Add a new protocol that supports send/receive a signal

This protocol includes a request and an event:

  • Request: Client sends a signal "0" or "1" to Server. If it is "1", the server will increment a counter variable and print it to the console. Otherwise, if it is "0", the server will just print it to the console without increment the counter.
  • Event: Server would send a signal "1" if it is received the request from Client. Otherwise, it would send a signal "0". The client checks the received event and print it to the console.
  • ivi-shell/ivi-signal.c: Add new protocol handling functions.
Edited by Au Doan Ngoc

Merge request reports

Loading