Thread: common step to write c code for wifi device

  1. #1
    Registered User
    Join Date
    May 2017
    Posts
    129

    common step to write c code for wifi device

    There are many Wifi device on market such as PC, smart phone, smart watch wifi dongle for which c code is written.

    What are common things in all devices that should be know when writing code. I am looking for common things I did research but i didn't get much help. Maybe someone can share some thought having experience on WiFi coding

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    At what level?

    In normal user space, WiFi == LAN and you don't give a damn what the underlying transport is.
    socket(2) - Linux manual page
    All the WiFi implementations provide you with the same API.

    If you're deep in kernel driver space bit-banging on some RF chip, then you have a whole host of problems to solve in very implementation specific ways.
    There might be some sample code from the device manufacturer, but after that, you're on your own.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 10-26-2020, 09:57 AM
  2. Replies: 4
    Last Post: 04-15-2014, 07:57 PM
  3. Replies: 1
    Last Post: 03-08-2013, 03:16 AM
  4. write prog for a usb device
    By jamzigy in forum C++ Programming
    Replies: 1
    Last Post: 03-04-2011, 03:11 AM
  5. Replies: 2
    Last Post: 12-05-2007, 10:56 AM

Tags for this Thread