alexB
                
              
                
                
              
                  
                  
              1
              
             
            
              Hi !
I tried to include the example code explained in the following link, in the example project already present in the board :
https://docs.legato.io/latest/c_smsSampleMO.html
But during compilation, the functions of this API are not recognized.
For example “le_sms_Create” or “le_sms_SetDestination”.
Is it necessary to install or include a particular library for it to work ?
Thank you in advance for your help  !  
 Capture d’écran 2018-11-28 à 17.00.59
            
 
            
              
              
              
            
            
           
          
            
              
                awneil
                
              
              
                  
                  
              2
              
             
            
              Those messages indicate that you have not #included the required header (.h) file …
             
            
              
              
              1 Like
            
            
           
          
            
              
                NhonChu
                
              
              
                  
                  
              3
              
             
            
              Hi @alexB,
Make sure you have the following points:
- 
adef file
bindings:
{
OrangeStarterKit.OrangeStarterKitComponent.le_sms -> modemService.le_sms
}
 
- 
cdef file
requires:
{
api:
{
modemServices/le_sms.api
…
 
Nhon
             
            
              
              
              1 Like
            
            
           
          
            
              
                pierr0t
                
              
              
                  
                  
              4
              
             
            
              Hi
I use sms in my project
You can find it here
This is a fork from the Orange Starter Kit especially in the file OrangeStarterKitComponent.c
Regards
             
            
              
              
              1 Like
            
            
           
          
            
              
                alexB
                
              
              
                  
                  
              5
              
             
            
              Hi !
Thank you for your quick answer. @awneil  , @NhonChu
It seemed to me that the problem came from a library, but I couldn’t find the right one.
I can work on it now.
Thank you @pierr0t this will make me a second working base.
Have a nice day.
Alex.