File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
features/cellular/framework Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ class CellularDevice {
55
55
*/
56
56
virtual events::EventQueue *get_queue () const ;
57
57
58
- /* * Get filehandle
58
+ /* * Get file handle
59
59
*
60
- * @return Filehandle used in CellularDevice. With AT it's UARTSerial.
60
+ * @return File handle used in CellularDevice. For example with AT it's UARTSerial.
61
61
*/
62
62
FileHandle &get_filehandle () const ;
63
63
@@ -71,13 +71,13 @@ class CellularDevice {
71
71
72
72
public:
73
73
74
- /* * Creates a new CellularContext interface. There can be multiple CellularContext interfaces unlike
74
+ /* * Creates a new CellularContext interface. There can be multiple CellularContext interfaces unlike interface opened with
75
75
* open_xxx(...) methods.
76
76
*
77
77
* @param fh file handle used in communication to modem. Can be for example UART handle. If null then the default
78
78
* file handle is used.
79
79
* @param apn access point to use with context, can be null.
80
- * @param stack stack to be used when finding suitable PDP context
80
+ * @param stack stack type to be used when finding suitable PDP context
81
81
*
82
82
* @return new instance of class CellularContext or NULL in case of failure
83
83
*
Original file line number Diff line number Diff line change @@ -89,6 +89,14 @@ class AT_CellularDevice : public CellularDevice {
89
89
90
90
protected:
91
91
92
+ /* * Creates new instance of AT_CellularContext or if overridden, modem specific implementation.
93
+ *
94
+ * @param at ATHandler reference for communication with the modem.
95
+ * @param apn access point to use with context
96
+ * @param stack stack type to be used when finding suitable PDP context
97
+ * @return new instance of class AT_CellularContext
98
+ *
99
+ */
92
100
virtual AT_CellularContext *create_context_impl (ATHandler &at, const char *apn, nsapi_ip_stack_t stack);
93
101
94
102
/* * Create new instance of AT_CellularNetwork or if overridden, modem specific implementation.
You can’t perform that action at this time.
0 commit comments