Skip to content

Generalization and bug fixes

Latest

Choose a tag to compare

@tjr268 tjr268 released this 16 Oct 08:29
· 1 commit to main since this release

Abstracted main.py, boot.py so they never need to be changed

  • added success and failed response options with proper HTTP response headers and body.
  • success/fail responses determined by handler functions
  • fixed crashes when unknown command is received in main (can still fail from handlers)
  • fixed CORS issue when making a request from a browser
  • added doc paragraphs

Handlers

  • renamed so main can be general
  • updated to out put tuple with success boolean value and response string
  • standardized output text for led handlers
  • added doc paragraphs