OBEX_TEST(1)

πŸ’– OBEX_TEST πŸ’– (that's section 1 of the manual, bestie)

okay so this is the page for obex_test, which lives in User commands territory, and honestly? it's giving "lab experiment but make it cute". let's get into it 🧚


✨ NAME ✨

obex_test β€” an interactive test application for the openobex library 🫢


🌸 SYNOPSIS 🌸

obex_test [[-s port] | [-r port] | [-i] | [-b [address] [channel]] |
          [-u interface]]

πŸ¦‹ DESCRIPTION πŸ¦‹

so obex_test is, like, the test application for the openobex library. it's interactive mode only, babes β€” but which access method you're rolling with gets picked by the command line arguments. no cap. πŸ’…

also, real talk: this program exists to be an example application for the openobex library. it's the demo, the showcase, the moment. πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • -s β€” this one is the default, periodt. it selects cable obex. the port argument is optional (default: /dev/ttyS0) πŸ“
  • -r β€” selects cable obex for the Ericsson R320 mobile phone. the port argument is optional too (default: /dev/ttyS0) πŸ“±
  • -i β€” selects obex over IrDA ✨
  • -b β€” selects obex over bluetooth. and get this: both the address and the channel are actually optional. default channel is 4, default address is ANY πŸ’™
  • -u β€” selects usb obex (CDC). if you skip the interface argument, a list of available interface gets written to stdout. very "here's the menu, choose your fighter" πŸ”₯

πŸŽ€ INTERACTIVE MODE: COMMANDS πŸŽ€

once you're in there, these are your little one-letter besties:

  • c β€” connect to the remote side (client mode) 🀝
  • d β€” disconnect from the remote side πŸ’”
  • g β€” issue a GET request
  • p β€” issue a PUT request
  • q β€” quit the program (the exit, the goodbye, the slay) πŸšͺ
  • s β€” go into server mode πŸ‘‘
  • t β€” change the path on the remote side πŸ›€οΈ
  • x β€” issue a PUSH request

🌈 AUTHOR 🌈

  • Hendrik Sattler <post@hendrik-sattler.de>
    • initial version of manpage (an icon, truly) 🫢

and that's the whole vibe check, bestie πŸ’œ this page comes to you from openobex, dated 01/14/2024, and it's filed right there under OBEX_TEST(1). go forth and test responsibly, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from