- How to Use
- Show how to use API of class NexHotspot.
- Author
- Wu Pengfei (email:pengf.nosp@m.ei.w.nosp@m.u@ite.nosp@m.ad.c.nosp@m.c)
- Date
- 2015/7/10
- Copyright
- Copyright (C) 2014-2015 ITEAD Intelligent Systems Co., Ltd.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
{
&hot0,
&hot1,
NULL
};
void hot0PushCallback(void *ptr)
{
dbSerialPrintln("hot0PushCallback");
dbSerialPrint("ptr=");
dbSerialPrintln((uint32_t)ptr);
}
void hot1PushCallback(void *ptr)
{
dbSerialPrintln("hot1PushCallback");
dbSerialPrint("ptr=");
dbSerialPrintln((uint32_t)ptr);
}
void hot0PopCallback(void *ptr)
{
dbSerialPrintln("hot0PopCallback");
dbSerialPrint("ptr=");
dbSerialPrintln((uint32_t)ptr);
}
void hot1PopCallback(void *ptr)
{
dbSerialPrintln("hot1PopCallback");
dbSerialPrint("ptr=");
dbSerialPrintln((uint32_t)ptr);
}
void setup(void)
{
dbSerialPrintln("setup done");
}
void loop(void)
{
}