lib: Updated AEM command functions to send command with or without
notification id.