Skip to content

Increase max number of messages in SMS folder#5

Open
stuart-mclaren wants to merge 1 commit into
pkot:pkot-testfrom
stuart-mclaren:increase-max-sms-folder-size
Open

Increase max number of messages in SMS folder#5
stuart-mclaren wants to merge 1 commit into
pkot:pkot-testfrom
stuart-mclaren:increase-max-sms-folder-size

Conversation

@stuart-mclaren

Copy link
Copy Markdown

Bump the value of GN_SMS_MESSAGE_MAX_NUMBER
from 1024 to 2048.

Without this change the number of messages
displayed may be wrong if it is above 1024.

Eg, without this change:

$ gnokii --showsmsfolderstatus
No. Name                                         Id #Msg
========================================================
  0 SMS Folder 1                                 F1    0
  1 SMS Inbox                                    IN 1024

With this change:

$ gnokii --showsmsfolderstatus
No. Name                                         Id #Msg
========================================================
  0 SMS Folder 1                                 F1    0
  1 SMS Inbox                                    IN 1234

Bump the value of GN_SMS_MESSAGE_MAX_NUMBER
from 1024 to 2048.

Without this change the number of messages
displayed may be wrong if it is above 1024.

Eg, without this change:

```
$ gnokii --showsmsfolderstatus
No. Name                                         Id #Msg
========================================================
  0 SMS Folder 1                                 F1    0
  1 SMS Inbox                                    IN 1024
```

With this change:

```
$ gnokii --showsmsfolderstatus
No. Name                                         Id #Msg
========================================================
  0 SMS Folder 1                                 F1    0
  1 SMS Inbox                                    IN 1234
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant