lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /** |
| 2 | * @file at_reg.h |
| 3 | * @brief Ìṩat_ctlÄ£¿é¿Í»§¶ËºÍ·þÎñ¶Ë×¢²á½Ó¿Ú |
| 4 | * |
| 5 | * Copyright (C) 2017 Sanechips Technology Co., Ltd. |
| 6 | * @author |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License version 2 as |
| 10 | * published by the Free Software Foundation. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | #ifndef __AT_REG_H__ |
| 15 | #define __AT_REG_H__ |
| 16 | |
| 17 | /******************************************************************************* |
| 18 | * Type definitions * |
| 19 | ******************************************************************************/ |
| 20 | |
| 21 | |
| 22 | |
| 23 | /** |
| 24 | * @brief ·¢ÍùPS,atÉÏÏÂÎĺÍatͨµÀµÄpositionΪNEAR_PS£¬Ô¶ÀëPS²àatÉÏÏÂÎĺÍatͨµÀµÄpositionΪFAR_PS |
| 25 | * ָʾCPUºËÄÚµÄATͨµÀµÄ·½Î»£¬ÒÔPSÐÒéÕ»µÄÔ¶½ü×÷Ϊ²ÎÕÕÎï¡£ |
| 26 | * @param NEAR_PS ¿¿½üPSÐÒéÕ»²àµÄATͨµÀ£¬ÀýÈçAPºËÄÚ¹²ÏíDDRÐéÄâµÄATͨµÀ |
| 27 | * @param FAR_PS Ô¶ÀëPSÐÒéÕ»µÄATͨµÀ£¬ÀýÈçAPºËÄÚUSBö¾ÙµÄATͨµÀ,uartͨµÀ |
| 28 | * @param POSITION_VOLTE ÓëvolteÄ£¿éͨÐŵÄptyͨµÀλÖà |
| 29 | * @param POSITION_MAX ÉÏÏÞºê |
| 30 | */ |
| 31 | enum at_channel_site { |
| 32 | FAR_PS = 0, //Ô¶ÀëPSÐÒéÕ»µÄATͨµÀ£¬ÀýÈçAPºËÄÚUSBö¾ÙµÄATͨµÀ |
| 33 | NEAR_PS, //¿¿½üPSÐÒéÕ»²àµÄATͨµÀ£¬ÀýÈçAPºËÄÚ¹²ÏíDDRÐéÄâµÄATͨµÀ |
| 34 | POSITION_VOLTE, //ÓëvolteÄ£¿éͨÐŵÄptyͨµÀλÖà |
| 35 | POSITION_MAX, //ÉÏÏÞºê |
| 36 | }; |
| 37 | |
| 38 | /******************************************************************************* |
| 39 | * Global function declarations * |
| 40 | ******************************************************************************/ |
| 41 | /** |
| 42 | µçÐÅÖ÷¿Ø·¢ËÍÇëÇóµÄÓ¦´ð½á¹û¸øÍⲿ£¬µ±Ä¿±êÄ£¿éIDΪ¾ä±úʱ£¬×é×°Ó¦´ðATÃüÁîдATͨµÀ£»·ñÔò·¢ËÍÏûÏ¢¸øÄ¿±êÄ£¿é |
| 43 | */ |
| 44 | int send_rsp_msg(int dst_id, unsigned short req_cmd, unsigned short rsp_cmd, unsigned short datalen, unsigned char *pData); |
| 45 | |
| 46 | #endif |
| 47 | |
| 48 | |