src/apps/at_parser/at_parser.c
static uint32_t makeHash( char *pCmd ) {
    uint16_t    ch = 0;
    uint32_t    hash = 0x05;

    while((ch = *pCmd++))
        hash += (ch << 1);
    return hash;
}
/*
 * Simple Hash code generation
 *
 * Hash code is used to save the command to the storage in aim to have fixed
 * storage space for all functions.
 */
Simple Hash code generation
Hash code is used to save the command to the storage in aim to have fixed
storage space for all functions.
Simple Hash code generation Hash code is used to save the command to the storage in aim to have fixed storage space for all functions .
static uint32_t makeHash( char *pCmd ) {
    uint16_t    ch = 0;
    uint32_t    hash = 0x05;
    while((ch = *pCmd++))
        hash += (ch << 1);
    return hash;
}
static uint32_t makeHash ( char * pCmd ) { uint16_t ch = 0 ; uint32_t hash = 0x05 ; while ( ( ch = * pCmd ++ ) ) hash += ( ch << 1 ) ; return hash ; }
Simple Hash code generation
 Hash code is used to save the command to the storage in aim to have fixed
 storage space for all functions.
Simple Hash code generation Hash code is used to save the command to the storage in aim to have fixed storage space for all functions .