Custom AT Subscriptions


#1

I just have a question about getting a custom AT command to work. I’m using the SL808x. I’ve used this code to initialize:

void pretendCommand(adl_atResponse_t *param)
{
	adl_atSendResponse( ADL_AT_UNS, (ascii*)"Received AT\n" );
}
	
//... later in main
	s16 err = adl_atCmdSubscribeExt("AT+SPOOF",
			pretendCommand,
			ADL_CMD_TYPE_PARA|0x0011,
			NULL,
			ADL_CMD_SUBSCRIPTION_ONLY_EXTERNAL_PORT);

	if(err != OK)
	{
		adl_atSendResponse ( ADL_AT_UNS, "Not good.\n" );
	}

However, when I then try to use “AT_SPOOF=test” on the console, I just get ERROR back. Any obvious issue here? Thanks again!


#2

hi,
AT_SPOOF or AT+SPOOF???


#3

Chargebee provides the option of creating custom fields for the Customer and Subscription objects. You can use this option to track additional information about a customer or their subscription. Once the custom fields are created, they can be added to the hosted checkout pages and invoices.