Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • skyward-addons
  • dependabot/npm_and_yarn/generator/javascript/async-2.6.4
  • dependabot/npm_and_yarn/generator/javascript_stable/async-2.6.4
  • dependabot/npm_and_yarn/generator/javascript_stable/minimist-1.2.6
  • dependabot/npm_and_yarn/generator/javascript/minimist-1.2.6
  • pr-instance-vars2
  • davidbuzz-leapsecondsfix-1
  • OBC-2018
  • pr-improve-MAV_CMD-parameters
  • release
  • pr-gitignore
  • 2.4.29
  • 2.4.28
  • 2.4.27
  • 2.4.26
  • 2.4.25
  • 2.4.24
  • 2.4.23
  • 2.4.22
20 results

mavtest.py

  • Nik Langrind's avatar
    207212d8
    mavgen_python.py: fix sending of signed messages · 207212d8
    Nik Langrind authored
    Modified that method's python3 detection to check for
    class 'bytearray' as well as class 'bytes'. This fixes python3
    decoding of signed messages.
    
    Also changed examples/mavtest.py to pass a bytearray for the
    secret key instead of a string. This is required to send
    a signed message using python3.
    207212d8
    History
    mavgen_python.py: fix sending of signed messages
    Nik Langrind authored
    Modified that method's python3 detection to check for
    class 'bytearray' as well as class 'bytes'. This fixes python3
    decoding of signed messages.
    
    Also changed examples/mavtest.py to pass a bytearray for the
    secret key instead of a string. This is required to send
    a signed message using python3.